Borderou de evaluare (job #1010897)
Utilizator | Data | 15 octombrie 2013 21:13:47 | |
---|---|---|---|
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?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !