Borderou de evaluare (job #1833981)

Utilizator FfritzoutIon Cristian-Alexandru Ffritzout Data 23 decembrie 2016 16:49:35
Problema Stramosi Status done
Runda Arhiva de probleme Compilator c | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.c: In function ‘main’: user.c:15:2: warning: format ‘%d’ expects argument of type ‘int *’, but argument 3 has type ‘long int *’ [-Wformat=] fscanf(f, "%d %d", &N, &M); ^ user.c:15:2: warning: format ‘%d’ expects argument of type ‘int *’, but argument 4 has type ‘long int *’ [-Wformat=] user.c:23:6: warning: format ‘%d’ expects argument of type ‘int *’, but argument 3 has type ‘long int *’ [-Wformat=] fscanf(f,"%d %d",&Q,&P); ^ user.c:23:6: warning: format ‘%d’ expects argument of type ‘int *’, but argument 4 has type ‘long int *’ [-Wformat=] user.c:29:9: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat=] fprintf(p, "%d\n", stram); ^ user.c:15:8: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%d %d", &N, &M); ^ user.c:19:9: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%d", &v[i]); ^ user.c:23:12: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d %d",&Q,&P); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms172kbKilled by signal 11(SIGSEGV).0
20ms172kbKilled by signal 11(SIGSEGV).0
30ms176kbKilled by signal 11(SIGSEGV).0
40ms176kbKilled by signal 11(SIGSEGV).0
50ms176kbKilled by signal 11(SIGSEGV).0
60ms172kbKilled by signal 11(SIGSEGV).0
70ms176kbKilled by signal 11(SIGSEGV).0
80ms176kbKilled by signal 11(SIGSEGV).0
90ms172kbKilled by signal 11(SIGSEGV).0
100ms176kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?