Borderou de evaluare (job #1912198)
Utilizator | Data | 7 martie 2017 23:56:47 | |
---|---|---|---|
Problema | Expresie2 | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int SubsecvMax()’:
user.cpp:49:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < a.size(); i++) {
^
user.cpp:50:11: error: no match for ‘operator+=’ (operand types are ‘int’ and ‘std::vector<short int>’)
s += a;
^
user.cpp: In function ‘int sum()’:
user.cpp:78:19: warning: NULL used in arithmetic [-Wpointer-arith]
while (* c != NULL) {
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !