Borderou de evaluare (job #1563245)
Utilizator | Data | 5 ianuarie 2016 19:46:19 | |
---|---|---|---|
Problema | Biperm | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void solve()’:
user.cpp:104:35: error: ‘memset’ was not declared in this scope
memset(mark, false, sizeof(mark));
^
user.cpp:112:46: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (best > cyclesComp[cycleIdx].size()) {
^
user.cpp:139:46: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (best > cyclesComp[cycleIdx].size()) {
^
user.cpp: In function ‘void read()’:
user.cpp:18:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:22:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &x);
^
user.cpp: In function ‘int main()’:
user.cpp:164:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("biperm.in", "r", stdin);
^
user.cpp:165:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("biperm.out", "w", stdout);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !