Pagini recente » Borderou de evaluare (job #2287343) | Borderou de evaluare (job #2779154) | Borderou de evaluare (job #47676) | Borderou de evaluare (job #1622383) | Borderou de evaluare (job #3005199)
Borderou de evaluare (job #3005199)
Raport evaluator
Compilare:
main.cpp: In function 'void dfs(int, int)':
main.cpp:52:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
52 | for (int i = 0; i < adj[node].size(); ++i)
| ~~^~~~~~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:110:21: warning: unused variable 'j' [-Wunused-variable]
110 | int n, m, k, i, j, a, b, c, cnt = 0;
| ^
main.cpp:110:33: warning: unused variable 'cnt' [-Wunused-variable]
110 | int n, m, k, i, j, a, b, c, cnt = 0;
| ^~~
main.cpp:158:8: warning: 'root' may be used uninitialized [-Wmaybe-uninitialized]
158 | dfs(root, 0);
| ~~~^~~~~~~~~
main.cpp:139:9: note: 'root' was declared here
139 | int root;
| ^~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 303kb | Incorect | 0 |
2 | 0ms | 303kb | Incorect | 0 |
3 | 1ms | 557kb | Incorect | 0 |
4 | 3ms | 1081kb | Incorect | 0 |
5 | 6ms | 1802kb | Incorect | 0 |
6 | 8ms | 2850kb | Incorect | 0 |
7 | 7ms | 3112kb | Incorect | 0 |
8 | 9ms | 4161kb | Incorect | 0 |
9 | 9ms | 3960kb | Incorect | 0 |
10 | 9ms | 3698kb | Incorect | 0 |
Punctaj total | 0 |