Borderou de evaluare (job #853776)
| Utilizator |
|
IP | ascuns |
|---|---|---|---|
| Problemă | Bip | Compilator | cpp |
| Rundă | Arhiva de probleme | Status | evaluat |
| Dată | 19 feb. 2026 21:22:48 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:8:5: error: 'it' was not declared in this scope; did you mean 'int'?
8 | it a, s=0, cs=0, cnt=0, ok=0, cif1=0, cnt1=0, cif2=0, cnt2=0;
| ^~
| int
main.cpp:9:12: error: 'a' was not declared in this scope
9 | cin >> a;
| ^
main.cpp:12:9: error: 'cs' was not declared in this scope
12 | cs=s;
| ^~
main.cpp:12:12: error: 's' was not declared in this scope
12 | cs=s;
| ^
main.cpp:16:13: error: 'cnt' was not declared in this scope; did you mean 'int'?
16 | cnt++;
| ^~~
| int
main.cpp:19:13: error: 'cnt' was not declared in this scope; did you mean 'int'?
19 | if (cnt==1)
| ^~~
| int
main.cpp:21:13: error: 'ok' was not declared in this scope
21 | ok=1;
| ^~
main.cpp:23:13: error: 'cif1' was not declared in this scope
23 | cif1=s%10;
| ^~~~
main.cpp:26:17: error: 'cnt1' was not declared in this scope
26 | cnt1++;
| ^~~~
main.cpp:31:9: error: 'cif2' was not declared in this scope
31 | cif2=s%10;
| ^~~~
main.cpp:34:13: error: 'cnt2' was not declared in this scope
34 | cnt2++;
| ^~~~
main.cpp:37:18: error: 'cnt2' was not declared in this scope
37 | cout << cnt2 << " " << cnt1 << " " << cif1;
| ^~~~
main.cpp:37:33: error: 'cnt1' was not declared in this scope
37 | cout << cnt2 << " " << cnt1 << " " << cif1;
| ^~~~
main.cpp:40:9: error: 'cnt' was not declared in this scope; did you mean 'int'?
40 | cnt=0;
| ^~~
| int
main.cpp:42:9: error: 'ok' was not declared in this scope
42 | if (ok==0) cout << -1;
| ^~