Borderou de evaluare (job #3042016)

Utilizator MihneaLoxGheorghe Mihnea Florentin MihneaLox Data 3 aprilie 2023 16:38:33
Problema Subsir Status done
Runda Arhiva de probleme Compilator c-64 | Vezi sursa
Scor 20

Raport evaluator

Compilare: main.c: In function 'main': main.c:31:13: warning: format '%s' expects argument of type 'char *', but argument 2 has type 'char (*)[505]' [-Wformat=] 31 | scanf("%s %s",&s1,&s2); | ~^ ~~~ | | | | | char (*)[505] | char * main.c:31:16: warning: format '%s' expects argument of type 'char *', but argument 3 has type 'char (*)[505]' [-Wformat=] 31 | scanf("%s %s",&s1,&s2); | ~^ ~~~ | | | | char * char (*)[505] main.c:32:7: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] 32 | N=strlen(s1); | ^~~~~~ main.c:2:1: note: include '<string.h>' or provide a declaration of 'strlen' 1 | #include <stdio.h> +++ |+#include <string.h> 2 | main.c:32:7: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 32 | N=strlen(s1); | ^~~~~~ main.c:32:7: note: include '<string.h>' or provide a declaration of 'strlen'
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms557kbWrong answer!0
20ms557kbOk!10
30ms303kbWrong answer!0
40ms557kbWrong answer!0
50ms303kbOk!10
629ms1605kbTime limit exceeded0
729ms819kbTime limit exceeded0
829ms2043kbTime limit exceeded0
929ms1081kbTime limit exceeded0
1029ms1994kbTime limit exceeded0
Punctaj total20

Ceva nu functioneaza?