Borderou de evaluare (job #3269734)
Utilizator | Data | 20 ianuarie 2025 16:22:43 | |
---|---|---|---|
Problema | Sir | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:33:39: warning: pointer of type 'void *' used in arithmetic [-Wpointer-arith]
33 | if (i-l+1>=x && i-l+1<=y) && i-l+1>rez
| ~~~~^~
main.cpp:33:41: warning: pointer of type 'void *' used in arithmetic [-Wpointer-arith]
33 | if (i-l+1>=x && i-l+1<=y) && i-l+1>rez
| ~~~~~~^~
main.cpp:33:43: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
33 | if (i-l+1>=x && i-l+1<=y) && i-l+1>rez
| ~~~~~~~~^~~~
main.cpp:33:47: error: expected ';' before '{' token
33 | if (i-l+1>=x && i-l+1<=y) && i-l+1>rez
| ^
| ;
34 | {
| ~
main.cpp:33:43: warning: statement has no effect [-Wunused-value]
33 | if (i-l+1>=x && i-l+1<=y) && i-l+1>rez
| ~~~~~~~~^~~~
main.cpp:33:38: error: label 'i' used but not defined
33 | if (i-l+1>=x && i-l+1<=y) && i-l+1>rez
| ^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !