Borderou de evaluare (job #1858380)
Utilizator | Data | 27 ianuarie 2017 15:10:57 | |
---|---|---|---|
Problema | Algoritmul lui Euclid | Status | done |
Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:1:9: error: #include expects "FILENAME" or <FILENAME>
#include>bits/stdc++.h>
^
user.cpp: In function ‘int main()’:
user.cpp:6:5: error: ‘ifstream’ was not declared in this scope
ifstream f("euclid2.in");
^
user.cpp:6:14: error: expected ‘;’ before ‘f’
ifstream f("euclid2.in");
^
user.cpp:7:5: error: ‘ofstream’ was not declared in this scope
ofstream g("euclid2.out");
^
user.cpp:7:14: error: expected ‘;’ before ‘g’
ofstream g("euclid2.out");
^
user.cpp:8:5: error: ‘f’ was not declared in this scope
f>>n;
^
user.cpp:13:17: error: ‘swap’ was not declared in this scope
swap(a,b);
^
user.cpp:20:5: error: ‘g’ was not declared in this scope
g<<a<<'\n';
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !