Borderou de evaluare (job #3295951)
Utilizator | Data | 9 mai 2025 21:45:49 | |
---|---|---|---|
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:37:23: warning: comparison with string literal results in unspecified behavior [-Waddress]
37 | if(b[i][j]==".") {
| ~~~~~~~^~~~~
main.cpp:37:23: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
main.cpp:40:28: warning: comparison with string literal results in unspecified behavior [-Waddress]
40 | else if(b[i][j]=="#") {
| ~~~~~~~^~~~~
main.cpp:40:28: 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 !