Borderou de evaluare (job #1725956)
Utilizator | Data | 6 iulie 2016 19:53:31 | |
---|---|---|---|
Problema | Algoritmul lui Euclid | Status | done |
Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:3:1: error: ‘ifstream’ does not name a type
ifstream f("euclid2.in");
^
user.cpp:4:1: error: ‘ofstream’ does not name a type
ofstream g("euclid2.out");
^
user.cpp: In function ‘int main()’:
user.cpp:7:13: error: ‘f’ was not declared in this scope
int a,b,r,T;f>>T;
^
user.cpp:9:9: error: ‘g’ was not declared in this scope
f>>a>>b,g<<std::__gcd(a,b)<<"\n";
^
user.cpp:7:9: warning: unused variable ‘r’ [-Wunused-variable]
int a,b,r,T;f>>T;
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !