Borderou de evaluare (job #3280597)
Utilizator | Data | 26 februarie 2025 18:30:33 | |
---|---|---|---|
Problema | Coins | 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:49:32: error: expected primary-expression at end of input
49 | if (x) msk |= (1 <<
| ^
main.cpp:49:32: error: expected ')' at end of input
49 | if (x) msk |= (1 <<
| ~ ^
| )
main.cpp:49:13: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
49 | if (x) msk |= (1 <<
| ^~
main.cpp:49:32: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
49 | if (x) msk |= (1 <<
| ^
main.cpp:49:32: error: expected '}' at end of input
main.cpp:46:39: note: to match this '{'
46 | for (int j = 21; j >= 0; --j) {
| ^
main.cpp:49:32: error: expected '}' at end of input
49 | if (x) msk |= (1 <<
| ^
main.cpp:44:33: note: to match this '{'
44 | for (int i = 0; i < N; ++i) {
| ^
main.cpp:49:32: error: expected '}' at end of input
49 | if (x) msk |= (1 <<
| ^
main.cpp:33:12: note: to match this '{'
33 | int main() {
| ^
main.cpp:42:12: warning: unused variable 'ans' [-Wunused-variable]
42 | int N, ans = 0;
| ^~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !