Borderou de evaluare (job #1254560)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:18:50: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=]
for(int j=1;j<=m;j++) scanf("%d",&v[i][j]);
^
user.cpp:13:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("tsunami.in", "r", stdin);
^
user.cpp:14:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("tsunami.out", "w", stdout);
^
user.cpp:16:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d",&n,&m,&h);
^
user.cpp:18:51: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(int j=1;j<=m;j++) scanf("%d",&v[i][j]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 328kb | OK | 10 |
2 | 0ms | 448kb | OK | 10 |
3 | 240ms | 3260kb | OK | 10 |
4 | 8ms | 588kb | OK | 10 |
5 | 44ms | 1308kb | OK | 10 |
6 | 204ms | 3956kb | OK | 10 |
7 | 208ms | 3272kb | OK | 10 |
8 | 60ms | 2108kb | OK | 10 |
9 | 188ms | 3076kb | OK | 10 |
10 | 192ms | 3548kb | OK | 10 |
Punctaj total | 100 |