Submission #2783

#TimeUsernameProblemLanguageResultExecution timeMemory
2783domece다각형 (GA5_polygon)C++98
0 / 100
0 ms1088 KiB
#include<cstdio> int main(){ int a,b; scanf("%d%d",&a,&b); b-=b%2; a+=a%2; if(a==b) printf("%d",a); else printf("%d",(a+b)/2*(b-a)); }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...