Pagini recente » Borderou de evaluare (job #1769125) | Borderou de evaluare (job #2489410) | Borderou de evaluare (job #1175517) | Borderou de evaluare (job #2746540) | Borderou de evaluare (job #1341020)
Borderou de evaluare (job #1341020)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:67: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:67:91: warning: format ‘%hd’ expects argument of type ‘short int*’, but argument 4 has type ‘int*’ [-Wformat=]
user.cpp:67: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:72: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 | 296kb | OK | 10 |
2 | 0ms | 332kb | OK | 10 |
3 | 0ms | 512kb | Incorect | 0 |
4 | 4ms | 720kb | OK | 10 |
5 | 4ms | 728kb | OK | 10 |
6 | 28ms | 2156kb | OK | 10 |
7 | 72ms | 4172kb | OK | 10 |
8 | 164ms | 6832kb | Incorect | 0 |
9 | 344ms | 11996kb | OK | 10 |
10 | 304ms | 11988kb | OK | 10 |
Punctaj total | 80 |