Borderou de evaluare (job #749454)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Factor (clasa a 5-a) | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 3 dec. 2023 21:41:02 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:12:5: error: 'inFile' was not declared in this scope; did you mean 'inline'?
12 | inFile >> n;
| ^~~~~~
| inline
main.cpp:44:24: error: 'c' was not declared in this scope; did you mean 'uc'?
44 | if (on % 10 == c) {
| ^
| uc
main.cpp:38:9: warning: unused variable 'uc' [-Wunused-variable]
38 | int uc = f % 10;
| ^~