Borderou de evaluare (job #2465403)
Utilizator | Data | 30 septembrie 2019 08:49:29 | |
---|---|---|---|
Problema | A+B | Status | done |
Runda | teme_upb | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:13:1: error: expected ';' after struct definition
}
^
main.cpp: In function 'int Solve(const string&)':
main.cpp:19:14: error: 'text' was not declared in this scope
idx[i] = text[i] - 'A';
^~~~
main.cpp:20:5: error: 'start' was not declared in this scope
start[i] = -1;
^~~~~
main.cpp:25:7: error: 'v' was not declared in this scope
v[i].idx0 = idx[i];
^
main.cpp:30:10: error: 'v' was not declared in this scope
sort(v, v + n);
^
main.cpp:38:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !