Pagini recente » Borderou de evaluare (job #629498) | Borderou de evaluare (job #3179054) | Borderou de evaluare (job #2163293) | Borderou de evaluare (job #2033954) | Borderou de evaluare (job #1476240)
Borderou de evaluare (job #1476240)
Raport evaluator
Compilare:
user.cpp: In function ‘nod* bfs(std::vector<nod*>*, nod*, int*)’:
user.cpp:27:51: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int j = 0; j < vecini[current->index].size(); j++) {
^
user.cpp: In function ‘int main()’:
user.cpp:69:7: warning: unused variable ‘y’ [-Wunused-variable]
nod* y = bfs(vecini, x, &maxDistance);
^
user.cpp:45:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("darb.in", "r", stdin);
^
user.cpp:46:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("darb.out","w",stdout);
^
user.cpp:48:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%i", &n);
^
user.cpp:55:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%i", &u->index);
^
user.cpp:58:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%i", &v->index);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 416kb | OK | 10 |
2 | 0ms | 420kb | OK | 10 |
3 | 0ms | 420kb | OK | 10 |
4 | 0ms | 476kb | OK | 10 |
5 | 8ms | 1068kb | OK | 10 |
6 | 44ms | 2696kb | OK | 10 |
7 | 72ms | 3684kb | OK | 10 |
8 | 120ms | 5408kb | OK | 10 |
9 | 96ms | 5996kb | OK | 10 |
10 | 168ms | 6924kb | OK | 10 |
Punctaj total | 100 |