Borderou de evaluare (job #1225092)

Utilizator ion2014ionescu ion ion2014 Data 31 august 2014 22:54:12
Problema Super Mario Status done
Runda Arhiva Monthly 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 vector ^ user.cpp:3:10: error: #include expects "FILENAME" or <FILENAME> #include algorithm ^ user.cpp:4:10: error: #include expects "FILENAME" or <FILENAME> #include queue ^ user.cpp:8:21: error: ‘supermario’ was not declared in this scope const char IN [ ] = supermario.in ; ^ user.cpp:9:22: error: ‘supermario’ was not declared in this scope const char OUT [ ] = supermario.out ; ^ user.cpp:13:1: error: ‘ifstream’ does not name a type ifstream fin ( IN ) ; ^ user.cpp:14:1: error: ‘ofstream’ does not name a type ofstream fout ( OUT ) ; ^ user.cpp:16:1: error: ‘vector’ does not name a type vector int v ; ^ user.cpp:17:1: error: ‘priority_queue’ does not name a type priority_queue int heap ; ^ user.cpp: In function ‘int main()’: user.cpp:22:5: error: ‘fin’ was not declared in this scope fin n ; ^ user.cpp:22:10: error: expected ‘;’ before ‘n’ fin n ; ^ user.cpp:23:27: warning: suggest parentheses around assignment used as truth value [-Wparentheses] for ( int i = 1 ; i = n ; ++ i ) ^ user.cpp:26:14: error: expected ‘;’ before ‘x’ fin x ; ^ user.cpp:27:9: error: ‘v’ was not declared in this scope v.push_back ( x ) ; ^ user.cpp:28:9: error: ‘heap’ was not declared in this scope heap.push ( x ) ; ^ user.cpp:31:19: error: ‘v’ was not declared in this scope

Ceva nu functioneaza?