Borderou de evaluare (job #1571552)

Utilizator BaweeLazar Vlad Bawee Data 18 ianuarie 2016 10:09:38
Problema Biperm Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:1:10: error: #include expects "FILENAME" or <FILENAME> #include fstream ^ user.cpp:2:10: error: #include expects "FILENAME" or <FILENAME> #include cstring ^ user.cpp:3:10: error: #include expects "FILENAME" or <FILENAME> #include vector ^ user.cpp:4:10: error: #include expects "FILENAME" or <FILENAME> #include algorithm ^ user.cpp:8:1: error: ‘ifstream’ does not name a type ifstream f(biperm.in); ^ user.cpp:9:1: error: ‘ofstream’ does not name a type ofstream g(biperm.out); ^ user.cpp:19:1: error: ‘vectorint’ does not name a type vectorint caraca[nmax]; ^ user.cpp:20:1: error: ‘vectorint’ does not name a type vectorint caracb[nmax]; ^ user.cpp: In function ‘bool cauta(int, int)’: user.cpp:25:9: error: ‘vectorintiterator’ was not declared in this scope for(vectorintiterator it = caraca[crnt].begin(); it != caraca[crnt].end(); ++it) ^ user.cpp:25:27: error: expected ‘;’ before ‘it’ for(vectorintiterator it = caraca[crnt].begin(); it != caraca[crnt].end(); ++it) ^ user.cpp:25:54: error: ‘it’ was not declared in this scope for(vectorintiterator it = caraca[crnt].begin(); it != caraca[crnt].end(); ++it) ^ user.cpp:25:60: error: ‘caraca’ was not declared in this scope for(vectorintiterator it = caraca[crnt].begin(); it != caraca[crnt].end(); ++it) ^ user.cpp: In function ‘int main()’: user.cpp:33:5: error: ‘f’ was not declared in this scope f n; ^ user.cpp:33:8: error: expected ‘;’ before ‘n’ f n; ^ user.cpp:35:24: warning: suggest parentheses around assignment used as truth value [-Wparentheses] for(int i = 1; i = n; ++i) f a[i],raspa[i] = a[i],caraca[a[i]].push_back(i); ^ user.cpp:35:35: error: expected ‘;’ before ‘a’ for(int i = 1; i = n; ++i) f a[i],raspa[i] = a[i],caraca[a[i]].push_back(i); ^

Ceva nu functioneaza?