Submission #7825

#TimeUsernameProblemLanguageResultExecution timeMemory
7825gs14092다각형 (GA5_polygon)C++98
100 / 100
0 ms1672 KiB
#import<iostream> long long x,y,r;main(){std::cin>>x>>y;if(x<3&&1<y)r-=2;x=(x+1)/2;y/=2;r+=y*y+y-x*x+x;std::cout<<r;}
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...