Borderou de evaluare (job #1880905)

Utilizator CammieCamelia Lazar Cammie Data 15 februarie 2017 23:27:51
Problema Miting Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 5

Raport evaluator

Compilare: user.cpp: In function ‘void Solve1()’: user.cpp:38:25: warning: format ‘%s’ expects argument of type ‘char*’, but argument 3 has type ‘char (*)[15]’ [-Wformat=] fscanf(f, "%s\n", &s); ^ user.cpp: In function ‘void Solve2()’: user.cpp:137:25: warning: format ‘%s’ expects argument of type ‘char*’, but argument 3 has type ‘char (*)[15]’ [-Wformat=] fscanf(f, "%s\n", &s); ^ user.cpp: In function ‘void Solve1()’: user.cpp:36:33: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%d %d\n", &n, &m); ^ user.cpp:38:26: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%s\n", &s); ^ user.cpp:44:32: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%c", &c); ^ user.cpp:58:28: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%c", &c); ^ user.cpp: In function ‘void Solve2()’: user.cpp:136:33: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%d %d\n", &n, &m); ^ user.cpp:137:26: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%s\n", &s); ^ user.cpp:143:32: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%c", &c); ^ user.cpp:155:28: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%c", &c); ^ user.cpp: In function ‘void Read()’: user.cpp:168:30: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%d", &cerinta); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms260kbIncorect0
20ms260kbIncorect0
30ms260kbOK5
40ms264kbIncorect0
50ms532kbKilled by signal 11(SIGSEGV).0
60ms588kbKilled by signal 11(SIGSEGV).0
70ms588kbKilled by signal 11(SIGSEGV).0
80ms584kbKilled by signal 11(SIGSEGV).0
90ms584kbKilled by signal 11(SIGSEGV).0
100ms544kbKilled by signal 11(SIGSEGV).0
110ms568kbKilled by signal 11(SIGSEGV).0
120ms584kbKilled by signal 11(SIGSEGV).0
130ms572kbKilled by signal 11(SIGSEGV).0
140ms580kbKilled by signal 11(SIGSEGV).0
150ms592kbKilled by signal 11(SIGSEGV).0
160ms584kbKilled by signal 11(SIGSEGV).0
170ms564kbKilled by signal 11(SIGSEGV).0
180ms588kbKilled by signal 11(SIGSEGV).0
190ms568kbKilled by signal 11(SIGSEGV).0
200ms588kbKilled by signal 11(SIGSEGV).0
Punctaj total5

Ceva nu functioneaza?