Pagini recente » Borderou de evaluare (job #1361490) | Borderou de evaluare (job #1284330) | Borderou de evaluare (job #3147336) | Borderou de evaluare (job #319739) | Borderou de evaluare (job #3148160)
Borderou de evaluare (job #3148160)
Raport evaluator
Compilare:
main.cpp: In function 'int dfs(int)':
main.cpp:17:25: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
17 | for(int i = 0;i < adj[root].size();++i)
| ~~^~~~~~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:82:25: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<Edge>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
82 | for(int i = 0;i < v.size();++i)
| ~~^~~~~~~~~~
main.cpp: In function 'bool check(int)':
main.cpp:39:23: warning: 'ret' may be used uninitialized [-Wmaybe-uninitialized]
39 | return ret == cs;
| ^~
main.cpp:29:13: note: 'ret' was declared here
29 | int ret;
| ^~~
main.cpp: In function 'int main()':
main.cpp:86:17: warning: 'ret' may be used uninitialized [-Wmaybe-uninitialized]
86 | if(check(n))
| ^~
main.cpp:29:13: note: 'ret' was declared here
29 | int ret;
| ^~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 303kb | OK | 5 | 5 |
2 | 0ms | 303kb | Incorect | 0 | 0 |
3 | 0ms | 303kb | Incorect | 0 | 0 |
4 | 0ms | 303kb | Incorect | 0 | 0 |
5 | 0ms | 303kb | Incorect | 0 |
6 | 0ms | 303kb | Incorect | 0 | 0 |
7 | 0ms | 303kb | Incorect | 0 |
8 | 0ms | 303kb | OK | 5 | 0 |
9 | 1ms | 303kb | Incorect | 0 |
10 | 1ms | 303kb | Incorect | 0 | 0 |
11 | 0ms | 303kb | OK | 5 | 5 |
12 | 0ms | 303kb | Incorect | 0 | 0 |
13 | 0ms | 303kb | Incorect | 0 | 0 |
14 | 1ms | 303kb | Incorect | 0 | 0 |
15 | 1ms | 303kb | Incorect | 0 |
16 | 1ms | 303kb | Incorect | 0 | 0 |
17 | 1ms | 303kb | Incorect | 0 |
18 | 0ms | 303kb | OK | 5 | 0 |
19 | 0ms | 303kb | Incorect | 0 |
20 | 0ms | 303kb | Incorect | 0 |
Punctaj total | 10 |