Pagini recente » Borderou de evaluare (job #3117704) | Borderou de evaluare (job #453495) | Borderou de evaluare (job #2424552) | Borderou de evaluare (job #673212) | Borderou de evaluare (job #2190676)
Borderou de evaluare (job #2190676)
Raport evaluator
Compilare:
user.cpp: In function ‘void read()’:
user.cpp:38:23: warning: unused variable ‘dist’ [-Wunused-variable]
int x = 0, y = 0, dist = 0;
^~~~
user.cpp:39:9: warning: unused variable ‘nod_pereche’ [-Wunused-variable]
Nod nod_pereche;
^~~~~~~~~~~
user.cpp: In function ‘void bfs(int)’:
user.cpp:60:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < G[nod].size(); i++) {
~~^~~~~~~~~~~~~~~
user.cpp: In function ‘void read()’:
user.cpp:37:28: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(pFile, "%d", &n);
^
user.cpp:42:39: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(pFile, "%d %d", &x, &y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 4ms | 3548kb | OK | 10 |
2 | 4ms | 3544kb | OK | 10 |
3 | 4ms | 3548kb | OK | 10 |
4 | 4ms | 3548kb | OK | 10 |
5 | 12ms | 3808kb | OK | 10 |
6 | 40ms | 4340kb | OK | 10 |
7 | 60ms | 4568kb | OK | 10 |
8 | 96ms | 5104kb | OK | 10 |
9 | 76ms | 4868kb | OK | 10 |
10 | 136ms | 5656kb | OK | 10 |
Punctaj total | 100 |