Mai intai trebuie sa te autentifici.
Borderou de evaluare (job #2784733)
| Utilizator | Data | 17 octombrie 2021 10:08:28 | |
|---|---|---|---|
| Problema | BFS - Parcurgere in latime | Status | done |
| Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
| Scor | 100 | ||
Raport evaluator
Compilare:
main.cpp: In function 'void bfs(int)':
main.cpp:29:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
29 | for(i=0;i<l[x].size();i++){
| ~^~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:43:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
43 | for(i=0;i<n;i++)
| ^~~
main.cpp:46:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
46 | bfs(s);
| ^~~
| Test | Timp executie | Memorie folosita | Mesaj | Punctaj/test |
|---|---|---|---|---|
| 1 | 1ms | 184kb | OK | 10 |
| 2 | 2ms | 217kb | OK | 10 |
| 3 | 2ms | 184kb | OK | 10 |
| 4 | 6ms | 2666kb | OK | 10 |
| 5 | 9ms | 2883kb | OK | 10 |
| 6 | 43ms | 3633kb | OK | 10 |
| 7 | 266ms | 5320kb | OK | 10 |
| 8 | 254ms | 6205kb | OK | 10 |
| 9 | 811ms | 12005kb | OK | 10 |
| 10 | 780ms | 11988kb | OK | 10 |
| Punctaj total | 100 | |||
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
