Borderou de evaluare (job #2961506)
Utilizator | Enal Gemaledin Blaugranas | Data | 6 ianuarie 2023 16:33:51 |
---|---|---|---|
Problema | Insule | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void B(int, int, int)':
main.cpp:9:9: warning: unused variable 'j' [-Wunused-variable]
9 | int j,k,i;
| ^
main.cpp:9:11: warning: unused variable 'k' [-Wunused-variable]
9 | int j,k,i;
| ^
main.cpp: In function 'int main()':
main.cpp:21:65: error: second operand to the conditional operator is of type 'void', but the third operand is neither a throw-expression nor of type 'void'
21 | u[i][j]==1?++r,B(i,j,1):u[i][j]==2?++q,B(i,j,2):++b,B(i,j,3);
| ^~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !