Pagini recente » Borderou de evaluare (job #3270124) | Borderou de evaluare (job #853701) | Borderou de evaluare (job #585731) | Borderou de evaluare (job #2459607) | Borderou de evaluare (job #2506466)
Borderou de evaluare (job #2506466)
Raport evaluator
Compilare:
main.cpp: In function 'void BFS(int)':
main.cpp:22:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < v[nod].adj.size(); i++)
~~^~~~~~~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:42:34: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("fof.in", "r", stdin);
^
main.cpp:43:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("fof.out", "w", stdout);
^
main.cpp:45:27: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &n, &m);
^
main.cpp:49:31: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &x, &y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 5ms | 262kb | Incorect | 0 |
Punctaj total | 0 |