Borderou de evaluare (job #2573078)
Utilizator | Data | 5 martie 2020 15:43:48 | |
---|---|---|---|
Problema | Combinari | Status | done |
Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:5:15: warning: missing terminating " character
ifstream fin ("combinari.in);
^
main.cpp:5:15: error: missing terminating " character
ifstream fin ("combinari.in);
^~~~~~~~~~~~~~~
main.cpp:6:15: error: expected ',' or '...' before '(' token
ofstream fout ("combinari.out");
^
main.cpp:6:32: error: expected ')' before ';' token
ofstream fout ("combinari.out");
^
main.cpp: In function 'void usain_bolt()':
main.cpp:11:9: error: request for member 'tie' in 'fin', which is of non-class type 'std::ifstream(std::ofstream) {aka std::basic_ifstream<char>(std::basic_ofstream<char>)}'
fin.tie(0);
^~~
main.cpp: In function 'void solve(int)':
main.cpp:24:41: error: 'fout' was not declared in this scope
for(int j = 1; j <= m; ++j) fout << ans[j] << " ";
^~~~
main.cpp:25:13: error: 'fout' was not declared in this scope
fout << "\n";
^~~~
main.cpp: In function 'int main()':
main.cpp:34:9: error: invalid operands of types 'std::ifstream(std::ofstream) {aka std::basic_ifstream<char>(std::basic_ofstream<char>)}' and 'int' to binary 'operator>>'
fin >> n >> m;
~~~~^~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !