Borderou de evaluare (job #1514029)
Utilizator | Data | 30 octombrie 2015 14:57:56 | |
---|---|---|---|
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:7:17: error: variable ‘std::ifstream in’ has initializer but incomplete type
ifstream in ("lgput.in")
^
user.cpp:8:5: error: expected ‘,’ or ‘;’ before ‘ofstream’
ofstream out ("lgput.out")
^
user.cpp:11:9: error: ‘n’ was not declared in this scope
in>>n>>p;
^
user.cpp:11:12: error: ‘p’ was not declared in this scope
in>>n>>p;
^
user.cpp:23:13: error: ‘r’ was not declared in this scope
r=r*n;
^
user.cpp:28:9: error: ‘r’ was not declared in this scope
n=n*r;
^
user.cpp:29:5: error: ‘out’ was not declared in this scope
out<<n%1999999973;
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !