m;main(a,b){for(;~scanf("%d%d",&a,&b);a=m+a-b,m=m<a?a:m);printf("%d",m);}
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Incorrect |
0 ms |
784 KB |
Output isn't correct |
2 |
Incorrect |
0 ms |
784 KB |
Output isn't correct |
3 |
Incorrect |
0 ms |
784 KB |
Output isn't correct |
4 |
Correct |
0 ms |
784 KB |
Output is correct |
5 |
Incorrect |
0 ms |
784 KB |
Output isn't correct |
6 |
Incorrect |
0 ms |
784 KB |
Output isn't correct |
7 |
Incorrect |
0 ms |
784 KB |
Output isn't correct |
8 |
Incorrect |
0 ms |
784 KB |
Output isn't correct |
9 |
Incorrect |
0 ms |
784 KB |
Output isn't correct |
10 |
Incorrect |
0 ms |
784 KB |
Output isn't correct |