Borderou de evaluare (job #2006859)

Utilizator Rodik_RodyRodica Vasilescu Rodik_Rody Data 1 august 2017 01:09:22
Problema Teroristi Status done
Runda Arhiva de probleme Compilator c | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.c: In function ‘main’: user.c:45:5: warning: format ‘%d’ expects argument of type ‘int *’, but argument 2 has type ‘char *’ [-Wformat=] scanf("%d%d",&N,&M); ^ user.c:45:5: warning: format ‘%d’ expects argument of type ‘int *’, but argument 3 has type ‘char *’ [-Wformat=] user.c:46:5: warning: format ‘%s’ expects argument of type ‘char *’, but argument 2 has type ‘char (*)[1000006]’ [-Wformat=] scanf("%s",&scrisoare); ^ user.c:43:12: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result] freopen("teroristi.in","r",stdin); ^ user.c:44:12: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result] freopen("teroristi.out","w",stdout); ^ user.c:45:10: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",&N,&M); ^ user.c:46:10: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] scanf("%s",&scrisoare); ^ user.c:49:14: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] scanf(" %c %c",&ziar[i].fata,&ziar[i].verso); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms72kbKilled by signal 11(SIGSEGV).0
20ms68kbKilled by signal 11(SIGSEGV).0
30ms64kbKilled by signal 11(SIGSEGV).0
40ms72kbKilled by signal 11(SIGSEGV).0
50ms64kbKilled by signal 11(SIGSEGV).0
60ms68kbKilled by signal 11(SIGSEGV).0
70ms68kbKilled by signal 11(SIGSEGV).0
80ms72kbKilled by signal 11(SIGSEGV).0
90ms68kbKilled by signal 11(SIGSEGV).0
100ms64kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?