Borderou de evaluare (job #1561614)
Utilizator | Data | 4 ianuarie 2016 12:29:12 | |
---|---|---|---|
Problema | Paritate | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:1:1: error: stray ‘\342’ in program
#include <fstream>
^
user.cpp:1:1: error: stray ‘\200’ in program
user.cpp:1:1: error: stray ‘\252’ in program
user.cpp:1:4: error: stray ‘#’ in program
#include <fstream>
^
user.cpp:1:1: error: stray ‘\342’ in program
#include <fstream>
^
user.cpp:1:1: error: stray ‘\200’ in program
user.cpp:1:1: error: stray ‘\216’ in program
user.cpp:1:1: error: stray ‘\342’ in program
user.cpp:1:1: error: stray ‘\200’ in program
user.cpp:1:1: error: stray ‘\254’ in program
user.cpp:1:8: error: ‘include’ does not name a type
#include <fstream>
^
user.cpp:4:1: error: ‘ifstream’ does not name a type
ifstream fin("paritate.in");
^
user.cpp:5:1: error: ‘ofstream’ does not name a type
ofstream fout("paritate.out");
^
user.cpp: In function ‘int main()’:
user.cpp:13:7: error: ‘fin’ was not declared in this scope
while(fin>>ch)
^
user.cpp:26:12: error: ‘pow’ was not declared in this scope
nr+=pow(2,i);
^
user.cpp:39:1: error: ‘fout’ was not declared in this scope
fout<<"DA"<<"\n";
^
user.cpp:47:1: error: ‘fout’ was not declared in this scope
fout<<"NU"<<"\n";
^
user.cpp:54:1: error: ‘fin’ was not declared in this scope
fin.close();
^
user.cpp:55:1: error: ‘fout’ was not declared in this scope
fout.close();
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !