Pagini recente » Borderou de evaluare (job #2568569) | Borderou de evaluare (job #160344) | Borderou de evaluare (job #1673985) | Borderou de evaluare (job #1794449) | Borderou de evaluare (job #2935690)
Borderou de evaluare (job #2935690)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:38:164: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
38 | if (distante[adiacent.first].first > distante[nod].first + adiacent.second||distante[adiacent.first].first == distante[nod].first + adiacent.second&&distante[nod].second<distante[adiacent.first].second) {
main.cpp:44:1: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
44 | for(int fortareatacurenta:fortareata)
| ^~~
main.cpp:47:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
47 | for (int i = 1; i < distante.size(); i++)
| ^~~
main.cpp:47:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
47 | for (int i = 1; i < distante.size(); i++)
| ~~^~~~~~~~~~~~~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 184kb | Incorect | 0 |
2 | 0ms | 184kb | OK | 10 |
3 | 3ms | 708kb | OK | 10 |
4 | 0ms | 184kb | Incorect | 0 |
5 | 200ms | 1232kb | Time limit exceeded | 0 |
6 | 127ms | 2060kb | OK | 10 |
7 | 0ms | 184kb | OK | 10 |
8 | 2ms | 839kb | Incorect | 0 |
9 | 202ms | 1880kb | Time limit exceeded | 0 |
10 | 36ms | 3436kb | Incorect | 0 |
Punctaj total | 40 |