Borderou de evaluare (job #3339372)
| Utilizator | Data | 7 februarie 2026 17:31:37 | |
|---|---|---|---|
| Problema | Muzeu | 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:20:20: warning: comparison with string literal results in unspecified behavior [-Waddress]
20 | if (val=="#") X[i][j]=(-2);
| ~~~^~~~~
main.cpp:20:20: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
main.cpp:21:25: warning: comparison with string literal results in unspecified behavior [-Waddress]
21 | else if (val==".") X[i][j]=(-1);
| ~~~^~~~~
main.cpp:21:25: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
