Borderou de evaluare (job #751488)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Comune (clasa a 5-a) | Compilator | cpp-32 |
Rundă | vs_7_8_9_dec | Status | evaluat |
Dată | 16 dec. 2023 11:18:51 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:16:17: error: 'cb' was not declared in this scope; did you mean 'c'?
16 | if(a == cb)
| ^~
| c
main.cpp:17:13: error: 'ct' was not declared in this scope; did you mean 'c'?
17 | ct++;
| ^~
| c
main.cpp:21:13: error: 'ct' was not declared in this scope; did you mean 'c'?
21 | fout << ct;
| ^~
| c
main.cpp:10:23: warning: unused variable 'c' [-Wunused-variable]
10 | int long long a,b,c =1;
| ^