Submission #2830

#TimeUsernameProblemLanguageResultExecution timeMemory
2830ansol4328다각형 (GA5_polygon)C++98
60 / 100
4 ms1088 KiB
#include<stdio.h> int main() { int a, b, sum, i; scanf("%d %d",&a,&b); sum=0; for(i=a ; i<=b ; i++) if((i-2)%2==0 && i-2!=0) sum+=i; printf("%d",sum); return 0; }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...