Borderou de evaluare (job #2974304)

Utilizator radustefanescu2006@gmail.comRadu Stefanescu [email protected] Data 3 februarie 2023 20:24:27
Problema Vila 2 Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp:11:5: error: redefinition of 'int n' 11 | int n, k, v[100005], i; | ^ main.cpp:10:5: note: 'int n' previously declared here 10 | int n, k, v[100005], i; | ^ main.cpp:11:8: error: redefinition of 'int k' 11 | int n, k, v[100005], i; | ^ main.cpp:10:8: note: 'int k' previously declared here 10 | int n, k, v[100005], i; | ^ main.cpp:11:11: error: redefinition of 'int v [100005]' 11 | int n, k, v[100005], i; | ^ main.cpp:10:11: note: 'int v [100005]' previously declared here 10 | int n, k, v[100005], i; | ^ main.cpp:11:22: error: redefinition of 'int i' 11 | int n, k, v[100005], i; | ^ main.cpp:10:22: note: 'int i' previously declared here 10 | int n, k, v[100005], i; | ^ Non zero exit status: 1

Ceva nu functioneaza?