Pagini recente » Borderou de evaluare (job #1341038) | Monitorul de evaluare | Borderou de evaluare (job #3286778) | Borderou de evaluare (job #3284714) | Borderou de evaluare (job #1341023)
Borderou de evaluare (job #1341023)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:65:91: warning: format ‘%hd’ expects argument of type ‘short int*’, but argument 3 has type ‘int*’ [-Wformat=]
fscanf (in, "%hd%hd%d%d%d%d", &n, &m, &start.x, &start.y, &destinatie.x, &destinatie.y);
^
user.cpp:65:91: warning: format ‘%hd’ expects argument of type ‘short int*’, but argument 4 has type ‘int*’ [-Wformat=]
user.cpp:65:92: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf (in, "%hd%hd%d%d%d%d", &n, &m, &start.x, &start.y, &destinatie.x, &destinatie.y);
^
user.cpp:70:50: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(in, "%hd", &mat[i][j].val);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 292kb | OK | 10 |
| 2 | 0ms | 328kb | OK | 10 |
| 3 | 0ms | 504kb | Incorect | 0 |
| 4 | 4ms | 724kb | OK | 10 |
| 5 | 4ms | 724kb | OK | 10 |
| 6 | 24ms | 2152kb | OK | 10 |
| 7 | 68ms | 4172kb | OK | 10 |
| 8 | 156ms | 6836kb | Incorect | 0 |
| 9 | 284ms | 11996kb | OK | 10 |
| 10 | 332ms | 11992kb | OK | 10 |
| Punctaj total | 80 |