Borderou de evaluare (job #2871070)
Utilizator | Data | 12 martie 2022 20:41:11 | |
---|---|---|---|
Problema | Sortnet | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int works(int, int)':
main.cpp:22:1: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
22 | if ((BIT(V[i], MAX(a, b)) && !BIT(V[i], MIN(a, b))) ||
| ^~
main.cpp:24:8: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
24 | a = b; V[i] = V2[i];
| ^
main.cpp:16:11: warning: unused variable 't' [-Wunused-variable]
16 | int i, b, t;
| ^
main.cpp: In function 'int main()':
main.cpp:36:9: error: 'FIN' was not declared in this scope; did you mean 'MIN'?
36 | freopen(FIN, "r", stdin); freopen(FOUT, "w", stdout);
| ^~~
| MIN
main.cpp:36:35: error: 'FOUT' was not declared in this scope
36 | freopen(FIN, "r", stdin); freopen(FOUT, "w", stdout);
| ^~~~
main.cpp:50:1: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
50 | for (bit = 0; (1<<bit) < k; bit++); Res += works(GRAY(i), bit);
| ^~~
main.cpp:50:37: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
50 | for (bit = 0; (1<<bit) < k; bit++); Res += works(GRAY(i), bit);
| ^~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !