Borderou de evaluare (job #2290947)

Utilizator ImbuzanRaduImbuzan Radu ImbuzanRadu Data 27 noiembrie 2018 10:50:52
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:12:5: error: 'f' was not declared in this scope f>>n; ^ main.cpp:22:6: error: no match for 'operator[]' (operand types are 'std::ofstream {aka std::basic_ofstream<char>}' and 'int') g[1] = 1; ^ main.cpp:30: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:31: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:33: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?