Borderou de evaluare (job #1872646)

Utilizator Coroian_DavidCoroian David Coroian_David Data 8 februarie 2017 14:17:22
Problema Lanterna Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 70

Raport evaluator

Compilare: user.cpp: In function ‘void readFile()’: user.cpp:57:33: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘bool*’ [-Wformat=] fscanf(f, "%d", &ally[i]); ^ user.cpp:53:30: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%d%d", &n, &k); ^ user.cpp:57:34: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%d", &ally[i]); ^ user.cpp:59:24: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%d", &m); ^ user.cpp:65:46: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%d%d%d%d", &a, &b, &e, &d); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms584kbOK10
24ms604kbOK10
30ms568kbOK10
40ms624kbKilled by signal 11(SIGSEGV).0
50ms580kbOK10
60ms608kbKilled by signal 11(SIGSEGV).0
70ms620kbKilled by signal 11(SIGSEGV).0
80ms564kbOK10
90ms332kbOK10
104ms604kbOK10
Punctaj total70

Ceva nu functioneaza?