Borderou de evaluare (job #1711003)

Utilizator stoianmihailStoian Mihail stoianmihail Data 30 mai 2016 10:01:38
Problema Photoshop Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:96:67: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘char*’ [-Wformat=] fscanf(f, "%d %d %d", &query[i].task, &query[i].a, &query[i].b); ^ user.cpp:91:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("photoshop.out", "w", stdout); ^ user.cpp:93:22: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%d", &N); ^ user.cpp:96:68: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%d %d %d", &query[i].task, &query[i].a, &query[i].b); ^ user.cpp:105:53: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%d %d", &query[i].c, &query[i].d); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
14ms5004kbKilled by signal 6(SIGABRT).0
24ms5000kbKilled by signal 6(SIGABRT).0
34ms4996kbKilled by signal 6(SIGABRT).0
44ms5012kbKilled by signal 6(SIGABRT).0
54ms4952kbKilled by signal 11(SIGSEGV).0
64ms4948kbKilled by signal 11(SIGSEGV).0
74ms5004kbKilled by signal 6(SIGABRT).0
84ms4952kbKilled by signal 11(SIGSEGV).0
94ms5004kbKilled by signal 6(SIGABRT).0
104ms5000kbKilled by signal 6(SIGABRT).0
Punctaj total0

Ceva nu functioneaza?