Borderou de evaluare (job #2236714)

Utilizator mihai50000Mihai-Cristian Popescu mihai50000 Data 30 august 2018 12:59:39
Problema Biperm Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:38:18: warning: overflow in implicit constant conversion [-Woverflow] const int LINF = 0x3f3f3f3f3f3f3f3f; ^~~~~~~~~~~~~~~~~~ user.cpp:50:1: error: ‘unordered_map’ does not name a type unordered_map <int, int> H1; ^~~~~~~~~~~~~ user.cpp:51:1: error: ‘unordered_map’ does not name a type unordered_map <int, int> H2; ^~~~~~~~~~~~~ user.cpp: In function ‘void DFS(int, int, int)’: user.cpp:72:6: error: ‘H1’ was not declared in this scope DFS(H1[v2[nod]], start, ok); ^~ user.cpp: At global scope: user.cpp:75:6: warning: ISO C++ forbids declaration of ‘main’ with no type [-Wreturn-type] main() ^ user.cpp: In function ‘int main()’: user.cpp:93:3: error: ‘H1’ was not declared in this scope H1[v1[i]] = i; ^~ user.cpp:101:19: warning: suggest parentheses around ‘-’ inside ‘<<’ [-Wparentheses] cout << (1 << nr - (swaps == 0)) << ' '; ~~~^~~~~~~~~~~~~~

Ceva nu functioneaza?