Borderou de evaluare (job #2405309)

Utilizator SebbicaSebica Sebbica Data 14 aprilie 2019 12:29:29
Problema K Aparitii Status done
Runda Arhiva Monthly Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp:6:1: error: expected ',' or ';' before 'int' int a[101][101]; ^~~ main.cpp: In function 'int main()': main.cpp:16:9: error: 'a' was not declared in this scope a[l][x%10]++; ^ main.cpp:24:4: error: 'a' was not declared in this scope if(a[i][j]%K!=0 && a[i][j]!=0) ^ main.cpp:24:1: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(a[i][j]%K!=0 && a[i][j]!=0) ^~ main.cpp:26:5: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if' p=p*10;} ^ Non zero exit status: 1

Ceva nu functioneaza?