Submission #2772

#TimeUsernameProblemLanguageResultExecution timeMemory
2772ksmin1114다각형 (GA5_polygon)C++98
70 / 100
100 ms1088 KiB
#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 timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...