Submission #1172

#TimeUsernameProblemLanguageResultExecution timeMemory
1172kriii지능형 기차 2 (KOI11_train2)C++98
16 / 16
0 ms884 KiB
#include <stdio.h> int A,x,y,S; int main() { int t = 10; while (t--){ scanf ("%d %d",&x,&y); S -= x; S += y; if (A < S) A = S; } printf ("%d",A); return 0; }
#Verdict Execution timeMemoryGrader output
Fetching results...