Borderou de evaluare (job #1813457)

Utilizator stoianmihailStoian Mihail stoianmihail Data 22 noiembrie 2016 23:11:43
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:337:35: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘char*’ [-Wformat=] fscanf(f, "%d", &query[i].task); ^ 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 %d %d", &R, &C, &N); ^ user.cpp:337: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:339: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:342: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:370: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
80ms180kbKilled by signal 11(SIGSEGV).0
90ms184kbKilled by signal 11(SIGSEGV).0
100ms180kbKilled by signal 11(SIGSEGV).0
10ms184kbKilled by signal 11(SIGSEGV).00
20ms180kbKilled by signal 11(SIGSEGV).0
30ms180kbKilled by signal 11(SIGSEGV).0
40ms184kbKilled by signal 11(SIGSEGV).00
50ms180kbKilled by signal 11(SIGSEGV).0
60ms184kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?