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()
{
long long a, b, sum, i;
scanf("%lld %lld",&a,&b);
sum=0;
for(i=a ; i<=b ; i++) if((i-2)%2==0 && i-2!=0) sum+=i;
printf("%lld",sum);
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... |