Borderou de evaluare (job #3174721)
Utilizator | Data | 25 noiembrie 2023 09:28:09 | |
---|---|---|---|
Problema | Calcule | Status | done |
Runda | vs_10_smile_again | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int cb(int)':
main.cpp:15:5: warning: no return statement in function returning non-void [-Wreturn-type]
15 | }
| ^
main.cpp: At global scope:
main.cpp:16:5: error: expected unqualified-id before 'return'
16 | return st;
| ^~~~~~
main.cpp:17:1: error: expected declaration before '}' token
17 | }
| ^
main.cpp: In function 'int main()':
main.cpp:25:5: error: 's' was not declared in this scope
25 | s += x % k;
| ^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !