Borderou de evaluare (job #701982)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Cuvinte (clasa a 5-a) | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 6 mar. 2023 19:08:29 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:12:5: error: two or more data types in declaration of 'car'
12 | int char car;
| ^~~
main.cpp:13:20: error: 'car' was not declared in this scope; did you mean 'char'?
13 | while (cin.get(car)
| ^~~
| char
main.cpp:13:24: error: expected ')' before '{' token
13 | while (cin.get(car)
| ~ ^
| )
14 | {
| ~
main.cpp:28:21: error: 'l' was not declared in this scope
28 | l=0;
| ^