Borderou de evaluare (job #1711028)

Utilizator stoianmihailStoian Mihail stoianmihail Data 30 mai 2016 10:35:56
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:90: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:85: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:87: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:90: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:99: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
18ms4944kbIncorect0
28ms4944kbIncorect0
38ms4952kbIncorect0
412ms5032kbIncorect0
54ms4940kbKilled by signal 11(SIGSEGV).0
64ms4928kbKilled by signal 11(SIGSEGV).0
74ms4936kbKilled by signal 11(SIGSEGV).0
84ms4936kbKilled by signal 11(SIGSEGV).0
94ms4936kbKilled by signal 11(SIGSEGV).0
104ms4936kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?