Borderou de evaluare (job #2437303)

Utilizator mikiduta12Mihai Pasareanu mikiduta12 Data 9 iulie 2019 11:38:19
Problema Permutari II 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:17:5: error: conflicting declaration 'int k' int k=0,ok=1; ^ main.cpp:13:13: note: previous declaration as 'long long int k' long long n,k,nrp,i,j,v[100000]; ^ main.cpp:25:10: error: 'p' was not declared in this scope {p=v[1]; ^ main.cpp:23:1: warning: this 'else' clause does not guard... [-Wmisleading-indentation] else ^~~~ main.cpp:37:5: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'else' fout<<k; ^~~~ main.cpp:13:15: warning: unused variable 'nrp' [-Wunused-variable] long long n,k,nrp,i,j,v[100000]; ^~~ main.cpp:13:21: warning: unused variable 'j' [-Wunused-variable] long long n,k,nrp,i,j,v[100000]; ^ Non zero exit status: 1

Ceva nu functioneaza?