Borderou de evaluare (job #1308398)
Utilizator | Data | 4 ianuarie 2015 00:37:08 | |
---|---|---|---|
Problema | Sortare prin comparare | Status | done |
Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:4:1: error: ‘iostream’ does not name a type
iostream fin("algsort.in");
^
user.cpp:5:1: error: ‘ofstream’ does not name a type
ofstream fout("algsort.out");
^
user.cpp: In function ‘int main()’:
user.cpp:12:5: error: ‘fin’ was not declared in this scope
fin>>n
^
user.cpp:13:5: error: expected ‘;’ before ‘for’
for(int i=1; i<=n; i++)
^
user.cpp:13:18: error: ‘i’ was not declared in this scope
for(int i=1; i<=n; i++)
^
user.cpp:13:27: error: expected ‘;’ before ‘)’ token
for(int i=1; i<=n; i++)
^
user.cpp:21:9: error: ‘fout’ was not declared in this scope
fout<<v.back();
^
user.cpp:25:5: error: ‘fout’ was not declared in this scope
fout.close();
^
user.cpp:10:15: warning: unused variable ‘e’ [-Wunused-variable]
long long e;
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !