Borderou de evaluare (job #2734010)
Utilizator | Data | 31 martie 2021 11:32:42 | |
---|---|---|---|
Problema | Trans | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int precalculare(int, int)':
main.cpp:40:49: error: 'insert' was not declared in this scope
insert(d[culoare], pair <int, int>(0, 0));
^
main.cpp:46:93: error: 'insert' was not declared in this scope
insert(d[culoare], pair <int, int> (i, min(best[i][0], best[i][1]) - s[i][culoare]));
^
main.cpp: In function 'int main()':
main.cpp:54:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("trans.in", "r", stdin);
^
main.cpp:55:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("trans.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 !