Submission #14264

#TimeUsernameProblemLanguageResultExecution timeMemory
14264khsoo01지능형 기차 2 (KOI11_train2)C++98
3.20 / 16
0 ms1716 KiB
#import<iostream> int a[4][2],i,s,m;main(){for(;i<4;){std::cin>>a[i][0]>>a[i][1];s+=a[i][1]-a[i++][0];if(s>m)m=s;}std::cout<<m;}
#Verdict Execution timeMemoryGrader output
Fetching results...