Borderou de evaluare (job #859967)
| Utilizator |
|
IP | ascuns |
|---|---|---|---|
| Problemă | Paliprime | Compilator | cpp |
| Rundă | Arhiva de probleme | Status | evaluat |
| Dată | 5 mai 2026 18:36:01 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:29:2: error: 'longlong' was not declared in this scope
29 | longlong cnr=nr,pal=0,r=0;
| ^~~~~~~~
main.cpp:30:15: error: 'cnr' was not declared in this scope; did you mean 'cnt'?
30 | while(cnr){
| ^~~
| cnt
main.cpp:31:13: error: 'pal' was not declared in this scope
31 | pal=pal*10+cnr%10;
| ^~~
main.cpp:34:12: error: 'pal' was not declared in this scope
34 | if(pal==nr)
| ^~~
main.cpp:35:9: error: 'r' was not declared in this scope
35 | r=1;
| ^
main.cpp:46:5: error: 'r' was not declared in this scope
46 | r=0;
| ^
main.cpp:49:4: error: 'r' was not declared in this scope
49 | if(r==1)
| ^
main.cpp:55:5: error: 'r' was not declared in this scope
55 | if (r==1 and i==n)
| ^