Pagini recente » Borderou de evaluare (job #3133984) | Borderou de evaluare (job #463165) | Borderou de evaluare (job #1985326) | Borderou de evaluare (job #2176344) | Borderou de evaluare (job #2079654)
Borderou de evaluare (job #2079654)
Raport evaluator
Compilare:
user.cpp: In member function ‘coord coord::operator+(coord)’:
user.cpp:12:19: warning: narrowing conversion of ‘(((int)((coord*)this)->coord::x) + ((int)a.coord::x))’ from ‘int’ to ‘short int’ inside { } [-Wnarrowing]
return {x + a.x, y + a.y};
^
user.cpp:12:28: warning: narrowing conversion of ‘(((int)((coord*)this)->coord::y) + ((int)a.coord::y))’ from ‘int’ to ‘short int’ inside { } [-Wnarrowing]
return {x + a.x, y + a.y};
^
user.cpp: In function ‘int main()’:
user.cpp:49:46: warning: narrowing conversion of ‘x’ from ‘int’ to ‘short int’ inside { } [-Wnarrowing]
coord aux = (coord) {x, y} + dir[i];
^
user.cpp:49:46: warning: narrowing conversion of ‘y’ from ‘int’ to ‘short int’ inside { } [-Wnarrowing]
user.cpp:34:37: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%d%d%hd", &n, &m, &H);
^
user.cpp:37:42: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%hd", &tmap[x][y]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 468kb | OK | 10 |
2 | 0ms | 588kb | OK | 10 |
3 | 248ms | 3380kb | OK | 10 |
4 | 8ms | 740kb | OK | 10 |
5 | 44ms | 1912kb | OK | 10 |
6 | 204ms | 3852kb | OK | 10 |
7 | 204ms | 3388kb | OK | 10 |
8 | 60ms | 2196kb | OK | 10 |
9 | 160ms | 3132kb | OK | 10 |
10 | 204ms | 3392kb | OK | 10 |
Punctaj total | 100 |