Submission #7876

#TimeUsernameProblemLanguageResultExecution timeMemory
7876comet다각형 (GA5_polygon)C++98
0 / 100
0 ms1672 KiB
#include<iostream> int main(){ int a,b; std::cin>>a>>b; if(a%2)a++; if(b%2)b--; if(b<4)std::cout<<"0"; else std::cout<<(a+b)*(b-a+2)/2; }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...