Borderou de evaluare (job #1751756)

Utilizator iulianrotaruRotaru Gheorghe-Iulian iulianrotaru Data 1 septembrie 2016 21:37:09
Problema Clasamente Status done
Runda Arhiva ICPC Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:122:13: error: variable ‘std::ifstream fin’ has initializer but incomplete type ifstream fin("clasamente.in"); ^ user.cpp:123:14: error: variable ‘std::ofstream fout’ has initializer but incomplete type ofstream fout("clasamente.out"); ^ user.cpp:125:1: error: ‘unordered_map’ does not name a type unordered_map<pair<char, int>, int> nr; ^ user.cpp: In function ‘void makeEdges(int)’: user.cpp:136:18: error: ‘nr’ was not declared in this scope for (auto itr : nr) { ^ user.cpp:138:34: error: ‘i’ was not declared in this scope for (int poz = 0; poz <= 60; ++i) { ^ user.cpp:140:25: error: ‘n’ was not declared in this scope for (int i = 1; i <= n; ++i) { ^ user.cpp:141:23: error: ‘where’ was not declared in this scope cost += abs(poz - where[i][ind]); ^ user.cpp: In function ‘int main()’: user.cpp:153:3: error: ‘nrEl’ was not declared in this scope nrEl = 0; ^ user.cpp:154:3: error: ‘nr’ was not declared in this scope nr.clear(); ^ user.cpp:158:5: error: ‘where’ was not declared in this scope where[i][j] = 0; ^ user.cpp:163:11: error: ‘txt’ was not declared in this scope fin >> txt[i]; ^ user.cpp:166:20: error: unable to deduce ‘auto&&’ from ‘txt’ for (auto itr : txt) { ^ user.cpp:171:5: error: ‘where’ was not declared in this scope where[i][nr[make_pair(itr, ap[itr - 'a'])]] = ind; ^ user.cpp:178:12: error: ‘inf’ was not declared in this scope int mn = inf; ^ user.cpp:178:7: warning: unused variable ‘mn’ [-Wunused-variable] int mn = inf; ^

Ceva nu functioneaza?