Borderou de evaluare (job #2288510)
| Utilizator | Data | 23 noiembrie 2018 16:11:39 | |
|---|---|---|---|
| Problema | Algoritmul lui Euclid | Status | done |
| Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
| Scor | 0 | ||
Raport evaluator
Eroare de compilare:
main.cpp:2:1: error: 'ifstream' does not name a type
ifstream f("euclid2.in");
^~~~~~~~
main.cpp:3:1: error: 'ofstream' does not name a type
ofstream g("euclid2.out");
^~~~~~~~
main.cpp: In function 'int main()':
main.cpp:7:9: error: 'f' was not declared in this scope
for(f>>a;f>>a>>b;)
^
main.cpp:9:18: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
for(;r=a%b;a=b,b=r);
^
main.cpp:10:9: error: 'g' was not declared in this scope
g<<b<<'\n';
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
