Borderou de evaluare (job #2133457)

Utilizator bodea.georgianaBodea Georgiana bodea.georgiana Data 16 februarie 2018 23:23:22
Problema Cifra Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:21:25: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘char (*)[2002]’ [-Wformat=] fscanf(f,"%d",&c); ^ user.cpp:15:11: warning: unused variable ‘n’ [-Wunused-variable] int m,n,i,nr,lg; ^ user.cpp:18:22: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d",&m); ^ user.cpp:21:26: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d",&c); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms816kbKilled by signal 11(SIGSEGV).0
20ms876kbKilled by signal 11(SIGSEGV).0
30ms816kbKilled by signal 11(SIGSEGV).0
40ms816kbKilled by signal 11(SIGSEGV).0
50ms820kbKilled by signal 11(SIGSEGV).0
60ms820kbKilled by signal 11(SIGSEGV).0
70ms820kbKilled by signal 11(SIGSEGV).0
80ms820kbKilled by signal 11(SIGSEGV).0
90ms816kbKilled by signal 11(SIGSEGV).0
100ms816kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?