Borderou de evaluare (job #2734008)
Utilizator | Data | 31 martie 2021 11:31:12 | |
---|---|---|---|
Problema | Trans | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:3:0: warning: ignoring #pragma GCC option [-Wunknown-pragmas]
#pragma GCC option("arch=native","tune=native","no-zero-upper")
main.cpp: In function 'int precalculare(int, int)':
main.cpp:43:49: error: 'insert' was not declared in this scope
insert(d[culoare], pair <int, int>(0, 0));
^
main.cpp:49: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:57: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:58: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 !