Borderou de evaluare (job #2720025)
Utilizator | Data | 10 martie 2021 15:28:29 | |
---|---|---|---|
Problema | Secventa | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:80:43: error: no matching function for call to 'InParser::InParser(const char [12], const char [2], _IO_FILE*&)'
InParser("secventa.in", "r", stdin);
^
main.cpp:52:5: note: candidate: InParser::InParser(const char*)
InParser(const char* nume) {
^~~~~~~~
main.cpp:52:5: note: candidate expects 1 argument, 3 provided
main.cpp:38:7: note: candidate: constexpr InParser::InParser(const InParser&)
class InParser {
^~~~~~~~
main.cpp:38:7: note: candidate expects 1 argument, 3 provided
main.cpp:38:7: note: candidate: constexpr InParser::InParser(InParser&&)
main.cpp:38:7: note: candidate expects 1 argument, 3 provided
main.cpp:81:39: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("secventa.out", "w", stdout);
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !