Borderou de evaluare (job #1813809)

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

Raport evaluator

Compilare: user.cpp: In function ‘void ask(int, int, int, int, int, int, int)’: user.cpp:323:60: warning: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘long long int’ [-Wformat=] fprintf(stderr, "%d %d o sa dea %d\n", left, right, now); ^ user.cpp: In function ‘int main()’: user.cpp:344:35: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘char*’ [-Wformat=] fscanf(f, "%d", &query[i].task); ^ user.cpp:340: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:342: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:344: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:346: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:349: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:271: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
70ms216kbKilled by signal 11(SIGSEGV).00
80ms212kbKilled by signal 11(SIGSEGV).0
90ms220kbKilled by signal 11(SIGSEGV).0
100ms216kbKilled by signal 11(SIGSEGV).0
10ms220kbKilled by signal 11(SIGSEGV).00
20ms212kbKilled by signal 11(SIGSEGV).0
30ms216kbKilled by signal 11(SIGSEGV).0
40ms216kbKilled by signal 11(SIGSEGV).00
50ms216kbKilled by signal 11(SIGSEGV).0
60ms216kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?