Borderou de evaluare (job #853768)
| Utilizator |
|
IP | ascuns |
|---|---|---|---|
| Problemă | Bip | Compilator | cpp |
| Rundă | Arhiva de probleme | Status | evaluat |
| Dată | 19 feb. 2026 21:21:13 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:16:9: error: 'cs1' was not declared in this scope; did you mean 'cs'?
16 | cs1=s;
| ^~~
| cs
main.cpp:26:15: error: 'cif' was not declared in this scope; did you mean 'cif2'?
26 | while(cif==s%10)
| ^~~
| cif2
main.cpp:28:13: error: 'cnt1' was not declared in this scope; did you mean 'cnt'?
28 | cnt1++;
| ^~~~
| cnt
main.cpp:34:13: error: 'cnt2' was not declared in this scope; did you mean 'cnt'?
34 | cnt2++;
| ^~~~
| cnt
main.cpp:37:15: error: 'cnt2' was not declared in this scope; did you mean 'cnt'?
37 | cout<<cnt2<<" "<<cif2<<" "<<cnt1<<" "<<cif2;
| ^~~~
| cnt
main.cpp:37:37: error: 'cnt1' was not declared in this scope; did you mean 'cnt'?
37 | cout<<cnt2<<" "<<cif2<<" "<<cnt1<<" "<<cif2;
| ^~~~
| cnt
main.cpp:42:5: error: 'cnt1' was not declared in this scope; did you mean 'cnt'?
42 | cnt1=0;
| ^~~~
| cnt
main.cpp:43:5: error: 'cnt2' was not declared in this scope; did you mean 'cnt'?
43 | cnt2=0;
| ^~~~
| cnt
main.cpp:10:11: warning: unused variable 'cif1' [-Wunused-variable]
10 | int a,cif1=0,cif2=0,cnt=0,cs=0,s=0,ok=0;
| ^~~~