Borderou de evaluare (job #1564989)

Utilizator Condition17Conache Cristian Condition17 Data 10 ianuarie 2016 10:39:48
Problema Teams Status done
Runda Arhiva de probleme Compilator c | Vezi sursa
Scor 50

Raport evaluator

Compilare: user.c: In function ‘citire’: user.c:75:5: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=] printf("%d",N); ^ user.c:76:5: warning: format ‘%li’ expects argument of type ‘long int *’, but argument 3 has type ‘short int *’ [-Wformat=] fscanf(f,"%li",&A); ^ user.c:77:5: warning: format ‘%li’ expects argument of type ‘long int *’, but argument 3 has type ‘short int *’ [-Wformat=] fscanf(f,"%li",&B); ^ user.c:74:10: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%li",&N); ^ user.c:76:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%li",&A); ^ user.c:77:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%li",&B); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms268kbOK10
20ms268kbOK10
30ms272kbOK10
40ms272kbOK10
50ms284kbOK10
60ms304kbKilled by signal 11(SIGSEGV).0
70ms296kbKilled by signal 11(SIGSEGV).0
80ms304kbKilled by signal 11(SIGSEGV).0
90ms296kbKilled by signal 11(SIGSEGV).0
100ms300kbKilled by signal 11(SIGSEGV).0
Punctaj total50

Ceva nu functioneaza?