Borderou de evaluare (job #2240568)

Utilizator anne_marieMessner Anne anne_marie Data 13 septembrie 2018 18:49:54
Problema Maxd Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘void ciur()’: user.cpp:13:9: error: ‘v’ was not declared in this scope v[i] = 1; ^ user.cpp:15:12: error: ‘v’ was not declared in this scope if(v[i] == 0) ^ user.cpp:18:9: error: ‘i’ was not declared in this scope for(i = 1; i * i <= b; i++) ^ user.cpp:19:12: error: ‘v’ was not declared in this scope if(v[i] == 0) ^ user.cpp:20:9: error: ‘w’ was not declared in this scope w[++k] = v[i]; ^ user.cpp:21:10: error: ‘w’ was not declared in this scope sort(w + 1, w + k + 1); ^ user.cpp:21:26: error: ‘sort’ was not declared in this scope sort(w + 1, w + k + 1); ^ user.cpp: At global scope: user.cpp:25:1: error: expected unqualified-id before ‘{’ token { ^

Ceva nu functioneaza?