Borderou de evaluare (job #1813822)

Utilizator stoianmihailStoian Mihail stoianmihail Data 23 noiembrie 2016 13:00:30
Problema A+B Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:339:37: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘char*’ [-Wformat=] fscanf(f, "%d", &query[i].task); ^ user.cpp:326:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("game.out", "w", stdout); ^ user.cpp:328:36: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%d %d %d", &R, &C, &N); ^ user.cpp:339:38: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%d", &query[i].task); ^ user.cpp:341:73: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%d %d %lld", &query[i].a, &query[i].b, &query[i].val); ^ user.cpp:343:85: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%d %d %d %d", &query[i].a, &query[i].b, &query[i].c, &query[i].d); ^ user.cpp:258:33: warning: array subscript is below array bounds [-Warray-bounds] return x + (val != normalize[x]) * set; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
70ms204kbKilled by signal 11(SIGSEGV).00
80ms196kbKilled by signal 11(SIGSEGV).0
90ms200kbKilled by signal 11(SIGSEGV).0
100ms196kbKilled by signal 11(SIGSEGV).0
10ms196kbKilled by signal 11(SIGSEGV).00
20ms196kbKilled by signal 11(SIGSEGV).0
30ms204kbKilled by signal 11(SIGSEGV).0
40ms196kbKilled by signal 11(SIGSEGV).00
50ms196kbKilled by signal 11(SIGSEGV).0
60ms200kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?