Borderou de evaluare (job #1802482)
Utilizator | Data | 10 noiembrie 2016 14:10:40 | |
---|---|---|---|
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:5:7: error: expected nested-name-specifier before ‘namespce’
using namespce std;
^
user.cpp:5:7: error: ‘namespce’ has not been declared
user.cpp:5:16: error: expected ‘;’ before ‘std’
using namespce std;
^
user.cpp:5:16: error: ‘std’ does not name a type
user.cpp:7:1: error: ‘ifstream’ does not name a type
ifstream fin(in);
^
user.cpp:8:1: error: ‘ofstream’ does not name a type
ofstream fout(out);
^
user.cpp: In function ‘int main()’:
user.cpp:22:5: error: ‘fin’ was not declared in this scope
fin>>n>>p;
^
user.cpp:22:10: error: ‘n’ was not declared in this scope
fin>>n>>p;
^
user.cpp:22:13: error: ‘p’ was not declared in this scope
fin>>n>>p;
^
user.cpp:23:5: error: ‘fout’ was not declared in this scope
fout<<putere(n,p,10);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !