Borderou de evaluare (job #2374267)
Utilizator | Data | 7 martie 2019 17:43:54 | |
---|---|---|---|
Problema | Algoritmul lui Euclid | Status | done |
Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:3:16: warning: ISO C++11 requires whitespace after the macro name
#define euclid2.in in
^
main.cpp:4:16: warning: ISO C++11 requires whitespace after the macro name
#define euclid2.out out
^
main.cpp:4:0: warning: "euclid2" redefined
#define euclid2.out out
main.cpp:3:0: note: this is the location of the previous definition
#define euclid2.in in
main.cpp: In function 'int euclid(int, int)':
main.cpp:12:8: error: invalid conversion from 'int (*)(int, int)' to 'int' [-fpermissive]
return euclid;
^~~~~~
main.cpp: In function 'int main()':
main.cpp:16:16: error: 'in' was not declared in this scope
ifstream f(in);
^~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !