Borderou de evaluare (job #3195317)
Utilizator | Data | 20 ianuarie 2024 14:13:08 | |
---|---|---|---|
Problema | Ksecv3 | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void solve()':
main.cpp:14:30: error: 'sum' was not declared in this scope
14 | int aux; cin >> aux; sum += aux;
| ^~~
main.cpp:17:8: error: 'sum' was not declared in this scope
17 | if(sum % 3 != 0){
| ^~~
main.cpp:19:16: error: return-statement with a value, in function returning 'void' [-fpermissive]
19 | return 0;
| ^
main.cpp:30:22: error: 'sum' was not declared in this scope
30 | if(sumAux == sum){
| ^~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !