Borderou de evaluare (job #853762)
| Utilizator |
|
IP | ascuns |
|---|---|---|---|
| Problemă | Bip | Compilator | cpp |
| Rundă | Arhiva de probleme | Status | evaluat |
| Dată | 19 feb. 2026 21:04:54 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:8:15: error: declaration does not declare anything [-fpermissive]
8 | long long int;
| ^~~
main.cpp:9:10: error: 'p' was not declared in this scope
9 | cin>>p;
| ^
main.cpp:10:11: error: 'i' was not declared in this scope
10 | while(i==p || i>99999999){
| ^
main.cpp:12:13: error: 'ca' was not declared in this scope
12 | ca=p;
| ^~
main.cpp:15:21: error: 'cnt' was not declared in this scope; did you mean 'int'?
15 | cnt++;
| ^~~
| int
main.cpp:18:16: error: 'cnt' was not declared in this scope; did you mean 'int'?
18 | if(cnt==1){
| ^~~
| int
main.cpp:19:17: error: 'bipartit' was not declared in this scope
19 | bipartit=i;
| ^~~~~~~~
main.cpp:25:8: error: 'bipartit' was not declared in this scope
25 | if(bipartit!=-1){
| ^~~~~~~~
main.cpp:26:9: error: 't' was not declared in this scope; did you mean 'tm'?
26 | t=bipartit%10;
| ^
| tm
main.cpp:28:13: error: 'n' was not declared in this scope
28 | n++;
| ^
main.cpp:31:9: error: 's' was not declared in this scope
31 | s=bipartit%10;
| ^
main.cpp:33:13: error: 'm' was not declared in this scope; did you mean 'tm'?
33 | m++;
| ^
| tm
main.cpp:36:15: error: 'm' was not declared in this scope; did you mean 'tm'?
36 | cout<<m<<" "<<s<<" "<<n<<" "<<t;
| ^
| tm
main.cpp:36:31: error: 'n' was not declared in this scope
36 | cout<<m<<" "<<s<<" "<<n<<" "<<t;
| ^