Borderou de evaluare (job #3259426)

Utilizator andycristuAndrei Cristu andycristu Data 26 noiembrie 2024 12:06:25
Problema Mit Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp:4:1: error: 'v' does not name a type 4 | v[100000]; | ^ main.cpp:5:1: error: 'b' does not name a type 5 | b[100]; | ^ main.cpp: In function 'int main()': main.cpp:12:16: error: 'v' was not declared in this scope 12 | cin >> v[i]; | ^ main.cpp:13:9: error: 'b' was not declared in this scope 13 | b[i / r]+=v[i]; | ^ main.cpp:23:13: error: 'b' was not declared in this scope 23 | b[x / r] = b[x / r] - v[x] + y; | ^ main.cpp:23:35: error: 'v' was not declared in this scope 23 | b[x / r] = b[x / r] - v[x] + y; | ^ main.cpp:32:20: error: 'v' was not declared in this scope 32 | s+=v[i]; | ^ main.cpp:37:21: error: 'b' was not declared in this scope 37 | s+= b[x / r]; | ^ main.cpp:42:21: error: 'v' was not declared in this scope 42 | s+= v[x]; | ^ Non zero exit status: 1

Ceva nu functioneaza?