Pagini recente » Borderou de evaluare (job #2759210) | Borderou de evaluare (job #2963065) | Borderou de evaluare (job #1435680) | Borderou de evaluare (job #2131635) | Borderou de evaluare (job #2975744)
Borderou de evaluare (job #2975744)
Raport evaluator
Compilare:
main.cpp:135:2: warning: backslash-newline at end of file
135 | }\
|
main.cpp: In function 'void dfs2(int, int)':
main.cpp:23:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
23 | for(i=0; i<vec[curr].size(); i++)
| ~^~~~~~~~~~~~~~~~~
main.cpp: In function 'void dfs(int, int)':
main.cpp:36:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
36 | for(i=0; i<adj[curr].size(); i++)
| ~^~~~~~~~~~~~~~~~~
main.cpp:55:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
55 | for(i=0; i<adj[curr].size(); i++)
| ~^~~~~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:119:26: warning: comparison of integer expressions of different signedness: 'std::vector<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
119 | if(rez.size()==2*n && rez[rez.size()-1]==1)
| ~~~~~~~~~~^~~~~
main.cpp:122:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
122 | for(i=0;i<rez.size()-1;i++)
| ~^~~~~~~~~~~~~
main.cpp:74:13: warning: unused variable 'j' [-Wunused-variable]
74 | int n,i,j,k,l,t,op,a,b,imp;
| ^
main.cpp:74:15: warning: unused variable 'k' [-Wunused-variable]
74 | int n,i,j,k,l,t,op,a,b,imp;
| ^
main.cpp:74:17: warning: unused variable 'l' [-Wunused-variable]
74 | int n,i,j,k,l,t,op,a,b,imp;
| ^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 5ms | 5033kb | OK | 10 |
2 | 5ms | 5033kb | OK | 10 |
3 | 5ms | 5033kb | OK | 6 |
4 | 4ms | 5296kb | OK | 6 |
5 | 30ms | 6602kb | OK | 6 |
6 | 68ms | 8396kb | OK | 6 |
7 | 161ms | 11784kb | OK | 6 |
8 | 564ms | 22519kb | OK | 6 |
9 | 520ms | 21340kb | OK | 6 |
10 | 583ms | 22159kb | OK | 8 |
11 | 50ms | 13946kb | OK | 10 |
12 | 109ms | 14807kb | OK | 10 |
13 | 111ms | 15290kb | OK | 10 |
Punctaj total | 100 |