Pagini recente » Borderou de evaluare (job #674771) | Borderou de evaluare (job #1488199) | Borderou de evaluare (job #1713546) | Borderou de evaluare (job #805289) | Borderou de evaluare (job #1347721)
Borderou de evaluare (job #1347721)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:38:36: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
fscanf (f, "%d%d%d", &n, &m, &h);
^
user.cpp:38:36: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘short int*’ [-Wformat=]
user.cpp:38:36: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘short int*’ [-Wformat=]
user.cpp:42:40: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
fscanf (f, "%d", &mat[i][j]);
^
user.cpp:38:37: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf (f, "%d%d%d", &n, &m, &h);
^
user.cpp:42:41: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf (f, "%d", &mat[i][j]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 420kb | Incorect | 0 |
| 2 | 0ms | 420kb | Incorect | 0 |
| 3 | 0ms | 424kb | Incorect | 0 |
| 4 | 0ms | 424kb | Incorect | 0 |
| 5 | 0ms | 424kb | Incorect | 0 |
| 6 | 0ms | 424kb | Incorect | 0 |
| 7 | 0ms | 428kb | Incorect | 0 |
| 8 | 0ms | 424kb | Incorect | 0 |
| 9 | 0ms | 428kb | Incorect | 0 |
| 10 | 0ms | 420kb | Incorect | 0 |
| Punctaj total | 0 |