Pagini recente » Borderou de evaluare (job #1051339) | Borderou de evaluare (job #3241401) | Borderou de evaluare (job #2490311) | Borderou de evaluare (job #2092648) | Borderou de evaluare (job #3210574)
Borderou de evaluare (job #3210574)
Raport evaluator
Compilare:
main.cpp: In function 'void citire()':
main.cpp:10:5: warning: unused variable 'i' [-Wunused-variable]
10 | int i,x,y;
| ^
main.cpp: In function 'void bfs(int)':
main.cpp:27:14: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
27 | for(i=0;i<L[xc].size();++i){
| ~^~~~~~~~~~~~~
main.cpp: In function 'void rez()':
main.cpp:47:4: warning: 'nmax' may be used uninitialized [-Wmaybe-uninitialized]
47 | bfs(nmax);
| ~~~^~~~~~
main.cpp:39:21: note: 'nmax' was declared here
39 | int i,max1=0,max2=0,nmax;
| ^~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 1ms | 303kb | OK | 10 |
2 | 0ms | 303kb | OK | 10 |
3 | 0ms | 303kb | OK | 10 |
4 | 1ms | 303kb | OK | 10 |
5 | 2ms | 1081kb | OK | 10 |
6 | 7ms | 2654kb | OK | 10 |
7 | 9ms | 3702kb | OK | 10 |
8 | 14ms | 5455kb | OK | 10 |
9 | 14ms | 6098kb | OK | 10 |
10 | 19ms | 6836kb | OK | 10 |
Punctaj total | 100 |