Borderou de evaluare (job #2941681)
Utilizator | Data | 18 noiembrie 2022 01:46:06 | |
---|---|---|---|
Problema | Perle | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:62:16: error: a function-definition is not allowed here before '{' token
62 | int b( int i ) {
| ^
main.cpp:69:16: error: a function-definition is not allowed here before '{' token
69 | int c( int i ) {
| ^
main.cpp:78:12: error: a function-definition is not allowed here before '{' token
78 | int main() {
| ^
main.cpp:56:7: warning: unused variable 'ans' [-Wunused-variable]
56 | int ans = 0;
| ^~~
main.cpp:57:6: warning: unused variable 'sum' [-Wunused-variable]
57 | ll sum = 0;
| ^~~
main.cpp:60:5: warning: unused variable 'v' [-Wunused-variable]
60 | int v[NMAX];
| ^
main.cpp:96:1: error: expected '}' at end of input
96 | }
| ^
main.cpp:40:12: note: to match this '{'
40 | int main() {
| ^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !