Borderou de evaluare (job #1710988)

Utilizator stoianmihailStoian Mihail stoianmihail Data 30 mai 2016 09:38:45
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:92: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:87: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:89: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:92: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:101: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
112ms6140kbOK10
212ms6176kbKilled by signal 6(SIGABRT).0
312ms6184kbKilled by signal 6(SIGABRT).0
412ms6252kbKilled by signal 6(SIGABRT).0
58ms6136kbKilled by signal 11(SIGSEGV).0
68ms6136kbKilled by signal 11(SIGSEGV).0
78ms6132kbKilled by signal 11(SIGSEGV).0
88ms6132kbKilled by signal 11(SIGSEGV).0
98ms6140kbKilled by signal 11(SIGSEGV).0
108ms6136kbKilled by signal 11(SIGSEGV).0
Punctaj total10

Ceva nu functioneaza?