# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
2772 | ksmin1114 | 다각형 (GA5_polygon) | C++98 | 100 ms | 1088 KiB |
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 int n,m,i,t=0;
scanf("%lld %lld",&n,&m);
for(i=n;i<=m;i+=2){
if(i>2&&i%2==0)t+=i;
else i--;
}
printf("%lld",t);
}
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |