Borderou de evaluare (job #2290949)

Utilizator ImbuzanRaduImbuzan Radu ImbuzanRadu Data 27 noiembrie 2018 10:51:27
Problema Culori3 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:21:6: error: no match for 'operator[]' (operand types are 'std::ofstream {aka std::basic_ofstream<char>}' and 'int') g[1] = 1; ^ main.cpp:29:28: error: no match for 'operator[]' (operand types are 'std::ofstream {aka std::basic_ofstream<char>}' and 'int') v[i] = r[i - 1] + g[i - 1]; ^ main.cpp:30:10: error: no match for 'operator[]' (operand types are 'std::ofstream {aka std::basic_ofstream<char>}' and 'int') g[i] = v[i - 1]; ^ main.cpp:32:44: error: no match for 'operator[]' (operand types are 'std::ofstream {aka std::basic_ofstream<char>}' and 'int') s += a[i] + ab[i] + r[i] + v[i] + g[i]; ^ Non zero exit status: 1

Ceva nu functioneaza?