This submission is migrated from previous version of oj.uz, which used different machine for grading. This submission may have different result if resubmitted.
#include<stdio.h>
int main()
{
int a, b, i, n=0;
scanf("%d %d", &a, &b);
for(i=a;i<=b;i++)
{
if(i==1) continue;
if(i%2==0) n+=i;
}
printf("%d", n);
return 0;
}
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |