Submission #2844

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