Pagini recente » Borderou de evaluare (job #311868) | Borderou de evaluare (job #2692306) | Borderou de evaluare (job #1348436) | Borderou de evaluare (job #1764534) | Borderou de evaluare (job #1359495)
Borderou de evaluare (job #1359495)
Raport evaluator
Compilare:
user.c: In function ‘main’:
user.c:26:5: warning: format ‘%s’ expects argument of type ‘char *’, but argument 3 has type ‘char (*)[255]’ [-Wformat=]
fscanf(in, "%s", &word);
^
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:34:13: warning: implicit declaration of function ‘strlen’ [-Wimplicit-function-declaration]
if(strlen(word)==1)
^
user.c:34:16: warning: incompatible implicit declaration of built-in function ‘strlen’ [enabled by default]
if(strlen(word)==1)
^
user.c:38:17: warning: format ‘%s’ expects argument of type ‘char *’, but argument 3 has type ‘char (*)[255]’ [-Wformat=]
fscanf(in, "%s", &word);
^
user.c:40:13: warning: implicit declaration of function ‘memcpy’ [-Wimplicit-function-declaration]
else memcpy(word, word+1, strlen(word)-1);
^
user.c:40:18: warning: incompatible implicit declaration of built-in function ‘memcpy’ [enabled by default]
else memcpy(word, word+1, strlen(word)-1);
^
user.c:33:11: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if(word[0]=='{')
^
user.c:41:12: warning: incompatible implicit declaration of built-in function ‘strlen’ [enabled by default]
if(strlen(word)==1&&word[0]==':')
^
user.c:45:13: warning: format ‘%s’ expects argument of type ‘char *’, but argument 3 has type ‘char (*)[255]’ [-Wformat=]
fscanf(in, "%s", &word);
^
user.c:51:25: warning: incompatible implicit declaration of built-in function ‘strlen’ [enabled by default]
if(word[strlen(word)-1]==':')
^
user.c:53:21: warning: incompatible implicit declaration of built-in function ‘memcpy’ [enabled by default]
memcpy(keys[i],word+1,strlen(word)-3);
^
user.c:59:21: warning: incompatible implicit declaration of built-in function ‘memcpy’ [enabled by default]
memcpy(keys[i],word+1,strlen(word)-2);
^
user.c:65:21: warning: incompatible implicit declaration of built-in function ‘memcpy’ [enabled by default]
memcpy(keys[i],word+1,strlen(word));
^
user.c:72:25: warning: incompatible implicit declaration of built-in function ‘strlen’ [enabled by default]
if(word[strlen(word)-1]==':')
^
user.c:74:21: warning: incompatible implicit declaration of built-in function ‘memcpy’ [enabled by default]
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 272kb | OK | 10 |
2 | Depăşit | 300kb | Time limit exceeded. | 0 |
3 | 0ms | 340kb | OK | 10 |
4 | 0ms | 272kb | OK | 10 |
5 | 0ms | 268kb | Incorect | 0 |
6 | 0ms | 264kb | Incorect | 0 |
7 | Depăşit | 288kb | Time limit exceeded. | 0 |
8 | 0ms | 360kb | Killed by signal 11(SIGSEGV). | 0 |
9 | 0ms | 356kb | Killed by signal 11(SIGSEGV). | 0 |
10 | 0ms | 360kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 30 |