Pagini recente » Cod sursa (job #2372544) | Diferente pentru problema/pudge intre reviziile 30 si 41 | Cod sursa (job #1177010) | Borderou de evaluare (job #1946976) | Borderou de evaluare (job #2694120)
Borderou de evaluare (job #2694120)
Raport evaluator
Compilare:
main.cpp: In function 'void parcurge(int, std::vector<Nod>*)':
main.cpp:12:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int j = 0; j < (*nodes)[i].from.size(); j++)
~~^~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:18:34: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("dfs.in", "r", stdin);
^
main.cpp:19:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("dfs.out", "w", stdout);
^
main.cpp:21: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:25: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 | 2ms | 131kb | OK | 5 |
| 2 | 2ms | 131kb | OK | 5 |
| 3 | 2ms | 131kb | OK | 5 |
| 4 | 15ms | 393kb | OK | 5 |
| 5 | 2ms | 131kb | OK | 5 |
| 6 | 3ms | 131kb | OK | 5 |
| 7 | 3ms | 131kb | OK | 5 |
| 8 | 4ms | 262kb | OK | 5 |
| 9 | 5ms | 262kb | OK | 5 |
| 10 | 5ms | 262kb | OK | 5 |
| 11 | 37ms | 1310kb | OK | 5 |
| 12 | 28ms | 1572kb | OK | 5 |
| 13 | 44ms | 2228kb | OK | 5 |
| 14 | 50ms | 2883kb | OK | 5 |
| 15 | 65ms | 3276kb | OK | 5 |
| 16 | 84ms | 3932kb | OK | 5 |
| 17 | 107ms | 9699kb | OK | 5 |
| 18 | 11ms | 3276kb | OK | 5 |
| 19 | 14ms | 3538kb | OK | 5 |
| 20 | 98ms | 5373kb | OK | 5 |
| Punctaj total | 100 |