# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
16245 | eaststar | 지능형 기차 2 (KOI11_train2) | C++14 | 0 ms | 1084 KiB |
This submission is migrated from previous version of oj.uz, which used different machine for grading. This submission may have different result if resubmitted.
#include <stdio.h>
int main(){
int i,x,y,s=0,mx=0;
for(i=1;i<11;++i){
scanf("%d%d",&x,&y);
s+=y-x;
if(mx<s)mx=s;
}
printf("%d",mx);
return 0;
}
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |