Borderou de evaluare (job #2006858)

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

Raport evaluator

Compilare: user.c: In function ‘main’: user.c:50:5: warning: format ‘%d’ expects argument of type ‘int *’, but argument 2 has type ‘char *’ [-Wformat=] scanf("%d%d",&N,&M); ^ user.c:50:5: warning: format ‘%d’ expects argument of type ‘int *’, but argument 3 has type ‘char *’ [-Wformat=] user.c:51:5: warning: format ‘%s’ expects argument of type ‘char *’, but argument 2 has type ‘char (*)[1000006]’ [-Wformat=] scanf("%s",&scrisoare); ^ user.c:48:12: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result] freopen("teroristi.in","r",stdin); ^ user.c:49:12: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result] freopen("teroristi.out","w",stdout); ^ user.c:50:10: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",&N,&M); ^ user.c:51:10: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] scanf("%s",&scrisoare); ^ user.c:54: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
10ms280kbOk!10
20ms284kbAi esuat!0
3Depăşit264kbTime limit exceeded.0
412ms8688kbKilled by signal 11(SIGSEGV).0
512ms8688kbKilled by signal 11(SIGSEGV).0
6Depăşit308kbTime limit exceeded.0
712ms8980kbKilled by signal 11(SIGSEGV).0
816ms9276kbKilled by signal 11(SIGSEGV).0
94ms1036kbFisier iesire corupt!0
10Depăşit1224kbTime limit exceeded.0
Punctaj total10

Ceva nu functioneaza?