Submission #6015

#TimeUsernameProblemLanguageResultExecution timeMemory
6015gs13068쌍둥이 독수리 (GA7_twineagles)C++98
0 / 100
0 ms1088 KiB
#include<cstdio> int main() { int a,b,c,d,e; scanf("%d%d%d%d%d",&a,&b,&c,&d,&e); if((b+a-1)/a==(c+a-1)/a)printf("%d",(b+a-1)/a); else if((b+a-1)/a>(c+a-1)/a)printf("%d",(c+a-1)/a+(b-(c+a-1)/a*a)/a/2); else printf("%d",(b+a-1)/a+(c-(b+a-1)/a*a)/a/2); }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...