Pagini recente » Borderou de evaluare (job #1185781) | Borderou de evaluare (job #1260214) | Borderou de evaluare (job #777027) | Borderou de evaluare (job #2831907) | Borderou de evaluare (job #2420611)
Borderou de evaluare (job #2420611)
Raport evaluator
Compilare:
main.cpp: In function 'void BFS(int)':
main.cpp:18:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < graf[nod].size(); i++) {
~~^~~~~~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:29:34: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("bfs.in", "r", stdin);
^
main.cpp:30:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("bfs.out", "w", stdout);
^
main.cpp:32:32: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d", &n, &m, &X);
^
main.cpp:34:30: 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 | 9ms | 2535kb | OK | 10 |
2 | 6ms | 2490kb | OK | 10 |
3 | 7ms | 2490kb | OK | 10 |
4 | 13ms | 2641kb | OK | 10 |
5 | 17ms | 2752kb | OK | 10 |
6 | 122ms | 3555kb | OK | 10 |
7 | 176ms | 5111kb | OK | 10 |
8 | 216ms | 5783kb | OK | 10 |
9 | 1042ms | 11587kb | OK | 10 |
10 | 994ms | 11571kb | OK | 10 |
Punctaj total | 100 |