Borderou de evaluare (job #622106)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Clasa2 | Compilator | cpp-32 |
Rundă | lasm_21_12_2021_cl12 | Status | evaluat |
Dată | 21 dec. 2021 15:14:25 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int getint()':
main.cpp:40:11: error: 'isdigit' was not declared in this scope; did you mean 'digit'?
40 | while (!isdigit(digit=readChar()));
| ^~~~~~~
| digit
main.cpp:43:10: error: 'isdigit' was not declared in this scope; did you mean 'digit'?
43 | while (isdigit(digit=readChar()));
| ^~~~~~~
| digit
main.cpp:39:19: warning: unused variable 'semn' [-Wunused-variable]
39 | int digit,res=0,semn=1;
| ^~~~