Borderou de evaluare (job #3155203)
Utilizator | Data | 7 octombrie 2023 17:28:19 | |
---|---|---|---|
Problema | Datorii | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int update(int, int)':
main.cpp:17:1: warning: no return statement in function returning non-void [-Wreturn-type]
17 | }
| ^
main.cpp: In function 'int main()':
main.cpp:39:9: error: expected initializer before 'cin'
39 | cin>>x;
| ^~~
main.cpp:40:18: error: 'x' was not declared in this scope
40 | update(i,x);
| ^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !