Borderou de evaluare (job #1711001)

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

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
18ms4968kbOK10
28ms5008kbKilled by signal 6(SIGABRT).0
38ms5016kbKilled by signal 6(SIGABRT).0
412ms5100kbKilled by signal 6(SIGABRT).0
54ms4948kbKilled by signal 11(SIGSEGV).0
64ms4948kbKilled by signal 11(SIGSEGV).0
74ms4952kbKilled by signal 11(SIGSEGV).0
84ms4948kbKilled by signal 11(SIGSEGV).0
94ms4952kbKilled by signal 11(SIGSEGV).0
104ms4948kbKilled by signal 11(SIGSEGV).0
Punctaj total10

Ceva nu functioneaza?