eolymp
bolt
Try our new interface for solving problems
published at 3/26/24, 8:54:19 pm

qirmizi edalet

published at 3/26/24, 8:54:23 pm

qirmizi edalet

published at 3/26/24, 8:54:25 pm

qirmizi edalet

published at 4/8/24, 11:39:40 am

include <iostream>

include <cmath>

include <algorithm>

using namespace std; int main() { int n,s=0; while(cin>>n){ if(n%2==0) s=s+n;} cout<<s;}

published at 4/12/24, 3:17:06 pm

include <iostream>

include <cmath>

include <algorithm>

using namespace std; int main() { int n,s=0; while(cin>>n) { if(n%2==0) s=s+n; } cout<<s; }