Borderou de evaluare (job #1369521)

Utilizator ade_tomiEnache Adelina ade_tomi Data 3 martie 2015 09:21:49
Problema Furnici Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:9:30: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=] fscanf(f,"%d%d%cg",&m,&n,&cg); ^ user.cpp:9:30: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long int*’ [-Wformat=] user.cpp:12:30: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=] fscanf(f,"%d%c%c",&x,&cg,&y); ^ user.cpp:17:20: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat=] fprintf(g,"%d",max); ^ user.cpp:9:31: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d%d%cg",&m,&n,&cg); ^ user.cpp:12:31: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d%c%c",&x,&cg,&y); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms188kbKilled by signal 11(SIGSEGV).0
20ms184kbKilled by signal 11(SIGSEGV).0
30ms184kbKilled by signal 11(SIGSEGV).0
40ms188kbKilled by signal 11(SIGSEGV).0
50ms188kbKilled by signal 11(SIGSEGV).0
60ms188kbKilled by signal 11(SIGSEGV).0
70ms188kbKilled by signal 11(SIGSEGV).0
80ms192kbKilled by signal 11(SIGSEGV).0
90ms184kbKilled by signal 11(SIGSEGV).0
100ms192kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?