Borderou de evaluare (job #2625595)
Utilizator | Data | 6 iunie 2020 01:19:07 | |
---|---|---|---|
Problema | Hashuri | Status | done |
Runda | Arhiva educationala | Compilator | cpp-32 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int add(int)':
main.cpp:27:15: error: invalid operands of types 'int' and '<unresolved overloaded function type>' to binary 'operator%'
int i = n % max;
~~^~~~~
main.cpp:30:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
main.cpp: In function 'void del(int)':
main.cpp:34:15: error: invalid operands of types 'int' and '<unresolved overloaded function type>' to binary 'operator%'
int i = n % max;
~~^~~~~
main.cpp:40:17: error: invalid operands of types 'int' and '<unresolved overloaded function type>' to binary 'operator%'
V[n % max].erase(it);
~~^~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !