Pagini recente » Borderou de evaluare (job #951140) | Borderou de evaluare (job #3233228) | Borderou de evaluare (job #83144) | Borderou de evaluare (job #757431) | Borderou de evaluare (job #2594607)
Borderou de evaluare (job #2594607)
Raport evaluator
Compilare:
main.cpp: In function 'void dfs(int, std::vector<int>*, char*)':
main.cpp:7:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < adj[node].size(); i++) {
~~^~~~~~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:19: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:20: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:22:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &m);
^
main.cpp:26: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 | 6ms | 2490kb | Incorect | 0 |
2 | 7ms | 2490kb | Incorect | 0 |
3 | 7ms | 2490kb | OK | 5 |
4 | 18ms | 2752kb | OK | 5 |
5 | 7ms | 2490kb | Incorect | 0 |
6 | 7ms | 2490kb | Incorect | 0 |
7 | 8ms | 2490kb | Incorect | 0 |
8 | 8ms | 2621kb | Incorect | 0 |
9 | 9ms | 2621kb | Incorect | 0 |
10 | 9ms | 2621kb | Incorect | 0 |
11 | 39ms | 3145kb | Incorect | 0 |
12 | 30ms | 3145kb | Incorect | 0 |
13 | 43ms | 3407kb | Incorect | 0 |
14 | 47ms | 3670kb | Incorect | 0 |
15 | 60ms | 3932kb | Incorect | 0 |
16 | 73ms | 4194kb | Incorect | 0 |
17 | 92ms | 5767kb | Incorect | 0 |
18 | 8ms | 2621kb | OK | 5 |
19 | 12ms | 2752kb | Incorect | 0 |
20 | 83ms | 4325kb | Incorect | 0 |
Punctaj total | 15 |