Borderou de evaluare (job #2261093)

Utilizator NOSCOPEPROKENDYMACHEAMACUMVREAU NOSCOPEPROKENDY Data 15 octombrie 2018 22:05:29
Problema Numere 3 Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp:1:1: error: 'include' does not name a type include<fstream> ^~~~~~~ main.cpp:15:1: error: 'pair' does not name a type pair<int, int> w[160], sol[160]; ^~~~ main.cpp:21:1: error: 'ifstream' does not name a type ifstream fin("numere3.in"); ^~~~~~~~ main.cpp:23:1: error: 'ofstream' does not name a type ofstream fout("numere3.out"); ^~~~~~~~ main.cpp: In function 'void upd(int, int)': main.cpp:27:5: error: 'w' was not declared in this scope w[++nr] = make_pair(i, j); ^ main.cpp:27:29: error: 'make_pair' was not declared in this scope w[++nr] = make_pair(i, j); ^ main.cpp: In function 'int main()': main.cpp:119:5: error: 'fin' was not declared in this scope fin>> n >> m >> k; ^~~ main.cpp:153:21: error: 'sol' was not declared in this scope sol[j] = w[j]; ^~~ main.cpp:153:30: error: 'w' was not declared in this scope sol[j] = w[j]; ^ main.cpp:177:9: error: 'fout' was not declared in this scope fout<<"-1\n"; ^~~~ main.cpp:183:9: error: 'fout' was not declared in this scope fout<< nrmin <<"\n"; ^~~~ main.cpp:187:20: error: 'sol' was not declared in this scope fout<< sol[i].f <<" "<< sol[i].s <<"\n"; ^~~

Ceva nu functioneaza?