Pagini recente » Diferente pentru admin/task-ratings-guidelines intre reviziile 2 si 1 | Cod sursa (job #2004243) | Diferente pentru problema/vectori intre reviziile 5 si 4 | Borderou de evaluare (job #3331248) | Borderou de evaluare (job #2974561)
Borderou de evaluare (job #2974561)
Raport evaluator
Compilare:
main.cpp: In function 'void dfs(int, int)':
main.cpp:22:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
22 | for(int i=0;i<l[nod].size();i++)
| ~^~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:137:33: warning: 'ymax' may be used uninitialized in this function [-Wmaybe-uninitialized]
137 | fout<<maxx<<" "<<xmax<<" "<<ymax;
| ^~~~
main.cpp:137:28: warning: 'xmax' may be used uninitialized in this function [-Wmaybe-uninitialized]
137 | fout<<maxx<<" "<<xmax<<" "<<ymax;
| ^~~
main.cpp:111:8: warning: 'root' may be used uninitialized in this function [-Wmaybe-uninitialized]
111 | dfs(root, 1);
| ~~~^~~~~~~~~
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 184kb | Incorect | 0 |
| 2 | 0ms | 184kb | Incorect | 0 |
| 3 | 0ms | 184kb | OK | 10 |
| 4 | 0ms | 184kb | Incorect | 0 |
| 5 | 0ms | 184kb | Incorect | 0 |
| 6 | 8ms | 4063kb | Incorect | 0 |
| 7 | 128ms | 12443kb | OK | 10 |
| 8 | 13ms | 7004kb | Incorect | 0 |
| 9 | 104ms | 10055kb | Incorect | 0 |
| 10 | 147ms | 10334kb | Incorect | 0 |
| Punctaj total | 20 |