Borderou de evaluare (job #1553822)

Utilizator peevMicu filip-mihai peev Data 20 decembrie 2015 16:12:27
Problema Teams Status done
Runda Arhiva de probleme Compilator c | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.c: In function ‘main’: user.c:9:5: warning: format ‘%d’ expects argument of type ‘int *’, but argument 3 has type ‘long int *’ [-Wformat=] fscanf(f,"%d",&N); ^ user.c:10:5: warning: format ‘%d’ expects argument of type ‘int *’, but argument 3 has type ‘long int *’ [-Wformat=] fscanf(f,"%d",&A); ^ user.c:11:5: warning: format ‘%d’ expects argument of type ‘int *’, but argument 3 has type ‘long int *’ [-Wformat=] fscanf(f,"%d",&B); ^ user.c:14:9: warning: format ‘%d’ expects argument of type ‘int *’, but argument 3 has type ‘long int *’ [-Wformat=] fscanf(f,"%d",&v[i]); ^ user.c:20:5: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat=] fprintf(g,"%d",2*D); ^ user.c:9:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d",&N); ^ user.c:10:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d",&A); ^ user.c:11:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d",&B); ^ user.c:14:15: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d",&v[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms256kbKilled by signal 11(SIGSEGV).0
20ms256kbKilled by signal 11(SIGSEGV).0
30ms256kbKilled by signal 11(SIGSEGV).0
40ms232kbKilled by signal 11(SIGSEGV).0
50ms240kbKilled by signal 11(SIGSEGV).0
60ms236kbKilled by signal 11(SIGSEGV).0
70ms236kbKilled by signal 11(SIGSEGV).0
80ms232kbKilled by signal 11(SIGSEGV).0
90ms240kbKilled by signal 11(SIGSEGV).0
100ms236kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?