Submission #1690

#TimeUsernameProblemLanguageResultExecution timeMemory
1690gs13105지능형 기차 2 (KOI11_train2)C++98
16 / 16
0 ms884 KiB
#include <stdio.h> int main() { int a,b,m=0,c=0,i; for(i=0;i<10;i++) { scanf("%d%d",&a,&b); c+=b-a; m=m>c?m:c; } printf("%d",m); return 0; }
#Verdict Execution timeMemoryGrader output
Fetching results...