Borderou de evaluare (job #3324069)
| Utilizator | Data | 20 noiembrie 2025 21:24:01 | |
|---|---|---|---|
| Problema | Apm2 | Status | done |
| Runda | Arhiva Monthly | Compilator | cpp-64 | Vezi sursa |
| Scor | 0 | ||
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void query(int, int)':
main.cpp:102:16: error: return-statement with a value, in function returning 'void' [-fpermissive]
102 | return cost_max;
| ^~~~~~~~
main.cpp:114:12: error: return-statement with a value, in function returning 'void' [-fpermissive]
114 | return cost_max;
| ^~~~~~~~
main.cpp: In function 'int main()':
main.cpp:137:29: error: invalid operands of types 'void' and 'int' to binary 'operator-'
137 | fout << query(x, y) - 1 << "\n";
| ~~~~~~~~~~~ ^ ~
| | |
| void int
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
