Borderou de evaluare (job #2979171)
Utilizator | Data | 14 februarie 2023 20:12:32 | |
---|---|---|---|
Problema | Algoritmul lui Euclid extins | Status | done |
Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:11:14: warning: missing terminating " character
11 | ifstream fin("euclid3.in);
| ^
main.cpp:11:14: error: missing terminating " character
11 | ifstream fin("euclid3.in);
| ^~~~~~~~~~~~~
main.cpp:12:14: error: expected ',' or '...' before '(' token
12 | ofstream fout("euclid3.out");
| ^
main.cpp:12:29: error: expected ')' before ';' token
12 | ofstream fout("euclid3.out");
| ^
| )
main.cpp:11:13: note: to match this '('
11 | ifstream fin("euclid3.in);
| ^
main.cpp: In function 'int main()':
main.cpp:32:11: error: 'n' was not declared in this scope
32 | fin>>n;
| ^
main.cpp:36:13: error: invalid operands of types 'std::ifstream(std::ofstream)' {aka 'std::basic_ifstream<char>(std::basic_ofstream<char>)'} and 'int' to binary 'operator>>'
36 | fin >>a>>b>>c;
| ~~~ ^~~
| | |
| | int
| std::ifstream(std::ofstream) {aka std::basic_ifstream<char>(std::basic_ofstream<char>)}
main.cpp:40:13: error: 'fout' was not declared in this scope
40 | fout<<"0 0"<<"\n";
| ^~~~
main.cpp:44:13: error: 'fout' was not declared in this scope
44 | fout << x * c / d << ' ' << y * c / d << '\n';
| ^~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !