Borderou de evaluare (job #2497386)

Utilizator Simon2712Simon Slanina Simon2712 Data 22 noiembrie 2019 15:59:26
Problema Caps 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:10:17: warning: suggest parentheses around '+' inside '>>' [-Wparentheses] cin>>k>>q>>s+1; ~^~ main.cpp:26:13: error: 'nr' was not declared in this scope nr+=caps[poz/i-1]; ^~ main.cpp:9:15: warning: unused variable 'val' [-Wunused-variable] int k,q,i,val,x,poz,j; ^~~ main.cpp:9:19: warning: unused variable 'x' [-Wunused-variable] int k,q,i,val,x,poz,j; ^ main.cpp:9:25: warning: unused variable 'j' [-Wunused-variable] int k,q,i,val,x,poz,j; ^ Non zero exit status: 1

Ceva nu functioneaza?