Borderou de evaluare (job #1359564)

Utilizator LauraALaura Antonache LauraA Data 24 februarie 2015 23:35:58
Problema Convertor Status done
Runda rosedu_cdl_2015 Compilator c | Vezi sursa
Scor 30

Raport evaluator

Compilare: user.c: In function ‘main’: user.c:27:5: warning: format ‘%s’ expects argument of type ‘char *’, but argument 3 has type ‘char (*)[255]’ [-Wformat=] fscanf(in, "%s", &word); ^ user.c:28:5: warning: format ‘%s’ expects argument of type ‘char *’, but argument 3 has type ‘char (*)[255]’ [-Wformat=] fscanf(in, "%s", &word); ^ user.c:29:5: warning: format ‘%s’ expects argument of type ‘char *’, but argument 3 has type ‘char (*)[255]’ [-Wformat=] fscanf(in, "%s", &word); ^ user.c:39:17: warning: format ‘%s’ expects argument of type ‘char *’, but argument 3 has type ‘char (*)[255]’ [-Wformat=] fscanf(in, "%s", &word); ^ user.c:34:11: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses] if(word[0]=='{') ^ user.c:46:13: warning: format ‘%s’ expects argument of type ‘char *’, but argument 3 has type ‘char (*)[255]’ [-Wformat=] fscanf(in, "%s", &word); ^ user.c:166:9: warning: format ‘%s’ expects argument of type ‘char *’, but argument 3 has type ‘char (*)[255]’ [-Wformat=] fscanf(in, "%s", &word); ^ user.c:171:5: warning: format ‘%s’ expects argument of type ‘char *’, but argument 3 has type ‘char (*)[255]’ [-Wformat=] fscanf(in, "%s", &word); ^ user.c:194:17: warning: format ‘%s’ expects argument of type ‘char *’, but argument 3 has type ‘char (*)[255]’ [-Wformat=] fscanf(in, "%s", &word); ^ user.c:189:11: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses] if(word[0]=='{') ^ user.c:201:13: warning: format ‘%s’ expects argument of type ‘char *’, but argument 3 has type ‘char (*)[255]’ [-Wformat=] fscanf(in, "%s", &word); ^ user.c:207:13: warning: format ‘%s’ expects argument of type ‘char *’, but argument 3 has type ‘char (*)[255]’ [-Wformat=] fscanf(in, "%s", &word); ^ user.c:315:5: warning: format ‘%s’ expects argument of type ‘char *’, but argument 3 has type ‘char (*)[255]’ [-Wformat=] fscanf(in, "%s", &word); ^ user.c:25:24: warning: unused variable ‘ok’ [-Wunused-variable] int i=0, j=0, k=0, ok=0; ^ user.c:27:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(in, "%s", &word); ^ user.c:28:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(in, "%s", &word); ^ user.c:29:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms264kbOK10
2Depăşit300kbTime limit exceeded.0
30ms348kbOK10
40ms272kbOK10
50ms272kbIncorect0
60ms268kbIncorect0
7Depăşit280kbTime limit exceeded.0
80ms360kbKilled by signal 11(SIGSEGV).0
90ms356kbKilled by signal 11(SIGSEGV).0
100ms356kbKilled by signal 11(SIGSEGV).0
Punctaj total30

Ceva nu functioneaza?