Mai intai trebuie sa te autentifici.
Borderou de evaluare (job #2858522)
| Utilizator | Data | 27 februarie 2022 18:59:23 | |
|---|---|---|---|
| Problema | Algoritmul lui Dijkstra | Status | done |
| Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
| Scor | 90 | ||
Raport evaluator
Compilare:
main.cpp: In function 'void solve()':
main.cpp:51:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<long long int, long long int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
51 | for(int i = 0; i < a[x].size(); i++){
| ~~^~~~~~~~~~~~~
main.cpp:59:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
59 | for(int i = 1; i<n; i++) if(d[i] == mod) cout << "0 "; else cout << d[i] << " "; cout << "\n";
| ^~~
main.cpp:59:83: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
59 | for(int i = 1; i<n; i++) if(d[i] == mod) cout << "0 "; else cout << d[i] << " "; cout << "\n";
| ^~~~
| Test | Timp executie | Memorie folosita | Mesaj | Punctaj/test |
|---|---|---|---|---|
| 1 | 10ms | 6516kb | OK | 10 |
| 2 | 11ms | 6504kb | OK | 10 |
| 3 | 11ms | 6582kb | OK | 10 |
| 4 | 11ms | 6496kb | OK | 10 |
| 5 | 35ms | 7340kb | OK | 10 |
| 6 | 63ms | 8044kb | OK | 10 |
| 7 | 83ms | 8380kb | OK | 10 |
| 8 | 183ms | 10760kb | OK | 10 |
| 9 | 121ms | 9674kb | OK | 10 |
| 10 | 219ms | 12308kb | Memory limit exceeded | 0 |
| Punctaj total | 90 | |||
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
