Borderou de evaluare (job #1575996)
Utilizator | Data | 21 ianuarie 2016 23:29:07 | |
---|---|---|---|
Problema | Sortare prin comparare | Status | done |
Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:2:7: error: expected nested-name-specifier before ‘namspace’
using namspace std;
^
user.cpp:2:7: error: ‘namspace’ has not been declared
user.cpp:2:16: error: expected ‘;’ before ‘std’
using namspace std;
^
user.cpp:2:16: error: ‘std’ does not name a type
user.cpp:4:1: error: ‘ifstream’ does not name a type
ifstream fin("algrost.in");
^
user.cpp:5:1: error: ‘ofstream’ does not name a type
ofstream fout("algsort.out");
^
user.cpp: In function ‘int main()’:
user.cpp:50:2: error: ‘fin’ was not declared in this scope
fin>>n;
^
user.cpp:9:14: error: ‘fout’ was not declared in this scope
#define cout fout
^
user.cpp:53:20: note: in expansion of macro ‘cout’
for(i=1;i<=n;++i) cout<<v[i]<<' ';
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !