Borderou de evaluare (job #2998887)

Utilizator angonio.grAntonio Grigorascu angonio.gr Data 10 martie 2023 10:46:27
Problema Barman 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:23:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 23 | for(p=1;p<=n;p++) | ^~~ main.cpp:25:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 25 | while(k<=n){ | ^~~~~ main.cpp:25:15: error: 'k' was not declared in this scope 25 | while(k<=n){ | ^ main.cpp:31:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 31 | for(p=1;p<=n;p++) | ^~~ main.cpp:33:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 33 | k++; | ^ Non zero exit status: 1

Ceva nu functioneaza?