Pagini recente » Borderou de evaluare (job #1146022) | Borderou de evaluare (job #2088985) | Borderou de evaluare (job #908771) | Borderou de evaluare (job #612920) | Borderou de evaluare (job #2334264)
Borderou de evaluare (job #2334264)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:83:39: warning: narrowing conversion of 'i' from 'int' to 'short int' inside { } [-Wnarrowing]
poz[mat[i][j]] = {i, j};
^
main.cpp:83:39: warning: narrowing conversion of 'j' from 'int' to 'short int' inside { } [-Wnarrowing]
main.cpp:91:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < pos.size(); i++){
~~^~~~~~~~~~~~
main.cpp:95:47: warning: narrowing conversion of '((((int)a.coord::x) + ((int)b.coord::x)) / 2)' from 'int' to 'short int' inside { } [-Wnarrowing]
pos[i].loc.push_back({(a.x + b.x) / 2, (a.y + b.y) / 2});
~~~~~~~~~~~~^~~
main.cpp:95:64: warning: narrowing conversion of '((((int)a.coord::y) + ((int)b.coord::y)) / 2)' from 'int' to 'short int' inside { } [-Wnarrowing]
pos[i].loc.push_back({(a.x + b.x) / 2, (a.y + b.y) / 2});
~~~~~~~~~~~~^~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | OK! | 10 |
2 | 2ms | 131kb | OK! | 10 |
3 | 35ms | 1310kb | Raspuns gresit! | 0 |
4 | 27ms | 2228kb | Raspuns gresit! | 0 |
5 | 114ms | 8257kb | Raspuns gresit! | 0 |
6 | 101ms | 3014kb | Raspuns gresit! | 0 |
7 | 155ms | 1966kb | OK! | 10 |
8 | 173ms | 2752kb | OK! | 10 |
9 | 546ms | 1085kb | OK! | 10 |
10 | 532ms | 1048kb | OK! | 10 |
Punctaj total | 60 |