Borderou de evaluare (job #2744548)
Utilizator | Data | 24 aprilie 2021 20:18:42 | |
---|---|---|---|
Problema | Hashuri | Status | done |
Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int cautare(int)':
main.cpp:14:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int j = 0; j < a[key].size(); j++) {
~~^~~~~~~~~~~~~~~
main.cpp: In function 'int inserare(int)':
main.cpp:28:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
main.cpp: In function 'int stergere(int)':
main.cpp:33:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int j = 0; j < a[key].size(); j++) {
~~^~~~~~~~~~~~~~~
main.cpp:36:16: error: 'class std::vector<int>' has no member named 'pop'
a[key].pop();
^~~
main.cpp:41:13: error: a function-definition is not allowed here before '{' token
int main () {
^
main.cpp:55:1: error: expected '}' at end of input
}
^
main.cpp:55: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 !