Borderou de evaluare (job #2940840)

Utilizator Theodor17Pirnog Theodor Ioan Theodor17 Data 16 noiembrie 2022 17:18:49
Problema Bibel 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:55:21: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 55 | if((i & (1 << (j - 1))) == 0) | ^~ main.cpp:56:34: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 56 | continue;1 | ^ main.cpp:56:35: error: expected ';' before 'for' 56 | continue;1 | ^ | ; 57 | 58 | for(int p = 1; p <= n; p++){ | ~~~ main.cpp:56:34: warning: statement has no effect [-Wunused-value] 56 | continue;1 | ^ main.cpp:58:36: error: 'p' was not declared in this scope 58 | for(int p = 1; p <= n; p++){ | ^ Non zero exit status: 1

Ceva nu functioneaza?