Borderou de evaluare (job #1892398)
Utilizator | Data | 24 februarie 2017 22:29:01 | |
---|---|---|---|
Problema | JB | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:108:46: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int j = 0; j < stations[i].size(); ++ j)
^
user.cpp:109:54: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int k = j + 1; k < stations[i].size(); ++ k) {
^
user.cpp:117:50: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int k = 0; k < stations[i].size(); ++ k)
^
user.cpp:118:54: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int l = 0; l < stations[j].size(); ++ l) {
^
user.cpp:136:73: error: ‘dist1’ was not declared in this scope
dists2[A][B] = dists2[B][A] = min(dists2[A][B], dist1[A][B]);
^
user.cpp:142:62: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int z = 0; z < stations[i].size(); ++ z) {
^
user.cpp:152:62: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int z = 0; z < stations[j].size(); ++ z) {
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !