Borderou de evaluare (job #1846939)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:46:39: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d%d%lld%d",&N,&M,&C,&R);
^
user.cpp:47:42: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d%d%d%d%d",&x,&y,&z,&w,&u);
^
user.cpp:48:53: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(int i=1;i<=M;i++) {fscanf(f,"%lld",&A[1][i]);MA[1][i]=max(MA[1][i-1],A[1][i]);S[1][i]=A[1][i]+S[1][i-1];}
^
user.cpp:49:53: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(int i=2;i<=N;i++) {fscanf(f,"%lld",&A[i][1]);MA[i][1]=S[i][1]=A[i][1];}
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 944kb | OK | 10 |
2 | 4ms | 1728kb | OK | 10 |
3 | 60ms | 7352kb | OK | 10 |
4 | 72ms | 8536kb | OK | 10 |
5 | 96ms | 10868kb | OK | 10 |
6 | 96ms | 10868kb | OK | 10 |
7 | Depăşit | 50728kb | Time limit exceeded. | 0 |
8 | Depăşit | 52696kb | Time limit exceeded. | 0 |
9 | Depăşit | 53880kb | Time limit exceeded. | 0 |
10 | 0ms | 536kb | OK | 10 |
Punctaj total | 70 |