Submission #14264

# Submission time Handle Problem Language Result Execution time Memory
14264 2015-05-09T00:12:03 Z khsoo01 지능형 기차 2 (KOI11_train2) C++
3.2 / 16
0 ms 1716 KB
#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 time Memory Grader output
1 Correct 0 ms 1716 KB Output is correct
2 Incorrect 0 ms 1716 KB Output isn't correct
3 Incorrect 0 ms 1716 KB Output isn't correct
4 Incorrect 0 ms 1716 KB Output isn't correct
5 Incorrect 0 ms 1716 KB Output isn't correct
6 Incorrect 0 ms 1716 KB Output isn't correct
7 Incorrect 0 ms 1716 KB Output isn't correct
8 Incorrect 0 ms 1716 KB Output isn't correct
9 Incorrect 0 ms 1716 KB Output isn't correct
10 Correct 0 ms 1716 KB Output is correct