Borderou de evaluare (job #2424140)

Utilizator qusyNastase Alexandru qusy Data 22 mai 2019 17:54:02
Problema Sortare topologica Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp:4:1: error: 'ifstream' does not name a type ifstream fin("sortaret.in"); ^~~~~~~~ main.cpp:5:1: error: 'ofstream' does not name a type ofstream fout("sortaret.out"); ^~~~~~~~ main.cpp:8:1: error: 'vector' does not name a type vector<int> v[10001]; ^~~~~~ main.cpp: In function 'int main()': main.cpp:12:2: error: 'fin' was not declared in this scope fin >> n >> m; ^~~ main.cpp:16:3: error: 'v' was not declared in this scope v[y].push_back(x); ^ main.cpp:30:23: error: 'v' was not declared in this scope for (int j = 0; j < v[i].size(); j++) ^ main.cpp:41:3: error: 'fout' was not declared in this scope fout << sol[j] << ' '; ^~~~ main.cpp:42:17: warning: ignoring return value of 'int system(const char*)', declared with attribute warn_unused_result [-Wunused-result] system("pause"); ^ Non zero exit status: 1

Ceva nu functioneaza?