Borderou de evaluare (job #1010899)

Utilizator MarghescuGabriel Marghescu Marghescu Data 15 octombrie 2013 21:15:04
Problema Ridicare la putere in timp logaritmic Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:4:1: error: ‘ifstream’ does not name a type ifstream f("lgput.in"); ^ user.cpp:5:1: error: ‘ofstream’ does not name a type ofstream g("lgput.out"); ^ user.cpp: In function ‘int main()’: user.cpp:15:5: error: ‘f’ was not declared in this scope f>>n>>p; ^ user.cpp:17:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i=1; (1<<i)<=p; i++) ^ user.cpp:23:5: error: ‘g’ was not declared in this scope g<<sol; ^

Ceva nu functioneaza?