Borderou de evaluare (job #1813654)

Utilizator stoianmihailStoian Mihail stoianmihail Data 23 noiembrie 2016 09:29:47
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:335:35: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘char*’ [-Wformat=] fscanf(f, "%d", &query[i].task); ^ user.cpp:333: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:335:36: 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:337:71: 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:340:83: 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:368: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: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
70ms184kbKilled by signal 11(SIGSEGV).00
80ms184kbKilled by signal 11(SIGSEGV).0
90ms192kbKilled by signal 11(SIGSEGV).0
100ms184kbKilled by signal 11(SIGSEGV).0
10ms192kbKilled by signal 11(SIGSEGV).00
20ms188kbKilled by signal 11(SIGSEGV).0
30ms188kbKilled by signal 11(SIGSEGV).0
40ms184kbKilled by signal 11(SIGSEGV).00
50ms192kbKilled by signal 11(SIGSEGV).0
60ms188kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?