Submission #4124

#TimeUsernameProblemLanguageResultExecution timeMemory
4124pichulia지능형 기차 2 (KOI11_train2)C++98
16 / 16
0 ms1088 KiB
#include<stdio.h> int a,m,p,q; int main() { while(scanf("%d %d",&p,&q)>0) { a+=(q-p); if(m<a) m=a; } printf("%d",m); }
#Verdict Execution timeMemoryGrader output
Fetching results...