Borderou de evaluare (job #2616495)

Utilizator claudiu7761Claudiu Mitrofan claudiu7761 Data 18 mai 2020 18:24:55
Problema Taramul Nicaieri 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:53:18: error: no match for 'operator[]' (operand types are 'std::ofstream {aka std::basic_ofstream<char>}' and 'int') in >> out[i] >> in[i]; ^ main.cpp:53:27: error: no match for 'operator[]' (operand types are 'std::ifstream {aka std::basic_ifstream<char>}' and 'int') in >> out[i] >> in[i]; ^ main.cpp:67:22: error: no match for 'operator[]' (operand types are 'std::ofstream {aka std::basic_ofstream<char>}' and 'int') c[0][i] = out[i]; ^ main.cpp:68:37: error: no match for 'operator[]' (operand types are 'std::ifstream {aka std::basic_ifstream<char>}' and 'int') c[100 + i][100 + n + 1] = in[i]; ^ main.cpp:75:32: warning: unused variable 'n1' [-Wunused-variable] int current,maxim,flow = 0,n1,n2; ^~ main.cpp:75:35: warning: unused variable 'n2' [-Wunused-variable] int current,maxim,flow = 0,n1,n2; ^~ main.cpp:76:9: warning: unused variable 'nr' [-Wunused-variable] int nr = 0; ^~ Non zero exit status: 1

Ceva nu functioneaza?