Submission #3162

#TimeUsernameProblemLanguageResultExecution timeMemory
3162movie_jo지능형 기차 2 (KOI11_train2)C11
16 / 16
0 ms1088 KiB
#include<stdio.h> int i,a,b,s,M; int main() { for(;i<10;i++) { scanf("%d%d",&a,&b); s+=b-a; M=M>s?M:s; } printf("%d",M); }
#Verdict Execution timeMemoryGrader output
Fetching results...