Pagini recente » Borderou de evaluare (job #471353) | Borderou de evaluare (job #1829314) | Borderou de evaluare (job #763824) | Borderou de evaluare (job #3324489) | Borderou de evaluare (job #3328394)
Borderou de evaluare (job #3328394)
Raport evaluator
Compilare:
main.cpp: In function 'void dfs1(int, std::vector<std::vector<int> >&)':
main.cpp:12:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
12 | for(int j = 0 ; j < G[start].size() ; j ++ ){
| ~~^~~~~~~~~~~~~~~~~
main.cpp: In function 'void dfs2(int, std::vector<std::vector<int> >&, std::vector<int>&)':
main.cpp:21:10: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
21 | if(!viz[start])
| ^~
main.cpp:23:12: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
23 | viz[start] = 1 ;
| ^~~
main.cpp:24:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
24 | for(int j = 0 ; j < GT[start].size() ; j ++ ){
| ~~^~~~~~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:62:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
62 | for(int i = 0 ; i < comp.size() ; i ++ ){
| ~~^~~~~~~~~~~~~
main.cpp:65:38: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
65 | for(int j = 0 ; j < comp[i].size() ; j ++ )
| ~~^~~~~~~~~~~~~~~~
main.cpp:65:20: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
65 | for(int j = 0 ; j < comp[i].size() ; j ++ )
| ^~~
main.cpp:67:23: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
67 | cout<<'\n';
| ^~~~
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 303kb | OK | 5 |
| 2 | 0ms | 303kb | OK | 5 |
| 3 | 0ms | 303kb | OK | 5 |
| 4 | 0ms | 303kb | Incorect | 0 |
| 5 | 0ms | 303kb | Incorect | 0 |
| 6 | 2ms | 557kb | Incorect | 0 |
| 7 | 2ms | 557kb | Incorect | 0 |
| 8 | 2ms | 557kb | Incorect | 0 |
| 9 | 8ms | 1605kb | Incorect | 0 |
| 10 | 9ms | 1867kb | Incorect | 0 |
| 11 | 8ms | 1605kb | Incorect | 0 |
| 12 | 9ms | 1605kb | Incorect | 0 |
| 13 | 49ms | 6311kb | Incorect | 0 |
| 14 | 49ms | 6332kb | Incorect | 0 |
| 15 | 49ms | 6303kb | Incorect | 0 |
| 16 | 49ms | 7127kb | Incorect | 0 |
| 17 | 48ms | 6660kb | Incorect | 0 |
| 18 | 63ms | 11657kb | OK | 5 |
| 19 | 67ms | 11628kb | OK | 5 |
| 20 | 64ms | 9609kb | Incorect | 0 |
| Punctaj total | 25 |