Borderou de evaluare (job #2350501)
Utilizator | Data | 21 februarie 2019 14:34:08 | |
---|---|---|---|
Problema | Algoritmul lui Euclid | Status | done |
Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:4:1: error: 'ifstream' does not name a type
ifstream fin("euclid2.in");
^~~~~~~~
main.cpp:5:1: error: 'ofstream' does not name a type
ofstream fout("euclid2.out");
^~~~~~~~
main.cpp: In function 'int main()':
main.cpp:32:5: error: 'fin' is not a member of 'std'
std::fin >> T;
^~~
main.cpp:34:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < T; i += 1) {
~~^~~
main.cpp:35:9: error: 'fin' is not a member of 'std'
std::fin >> a >> b;
^~~
main.cpp:36:9: error: 'fout' is not a member of 'std'
std::fout << leastCommonDiv(a, b) << '\n';
^~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !