Borderou de evaluare (job #1590143)

Utilizator Coroian_DavidCoroian David Coroian_David Data 4 februarie 2016 19:05:02
Problema Numar2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 10

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:11:26: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=] fscanf(f,"%d%d",&n,&m); ^ user.cpp:11:26: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long int*’ [-Wformat=] user.cpp:14:26: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=] fscanf(f,"%d",&nr); ^ user.cpp:28:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat=] fprintf(g,"%d",i); ^ user.cpp:11:27: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d%d",&n,&m); ^ user.cpp:14:27: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d",&nr); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms484kbOK10
20ms504kbKilled by signal 11(SIGSEGV).0
30ms600kbKilled by signal 11(SIGSEGV).0
40ms604kbKilled by signal 11(SIGSEGV).0
50ms600kbKilled by signal 11(SIGSEGV).0
60ms600kbKilled by signal 11(SIGSEGV).0
70ms604kbKilled by signal 11(SIGSEGV).0
80ms600kbKilled by signal 11(SIGSEGV).0
90ms600kbKilled by signal 11(SIGSEGV).0
100ms604kbKilled by signal 11(SIGSEGV).0
Punctaj total10

Ceva nu functioneaza?