Borderou de evaluare (job #1379880)
Utilizator | Data | 6 martie 2015 20:00:39 | |
---|---|---|---|
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: In function ‘int main()’:
user.cpp:9:17: error: variable ‘std::ifstream fin’ has initializer but incomplete type
ifstream fin("lgput.in");
^
user.cpp:10:18: error: variable ‘std::ofstream fout’ has initializer but incomplete type
ofstream fout("lgput.out");
^
user.cpp:11:10: error: ‘n’ was not declared in this scope
fin>>n>>p;
^
user.cpp:11:13: error: ‘p’ was not declared in this scope
fin>>n>>p;
^
user.cpp: In function ‘int put(int, int)’:
user.cpp:24:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !