Borderou de evaluare (job #794204)

Utilizator avatar David_Radavoi David Radavoi David_Radavoi IP ascuns
Problemă Dar Compilator c-32
Rundă Arhiva de probleme Status evaluat
Dată 11 nov. 2024 19:06:12 Scor 0

Raport evaluator

Compilare: main.c: In function 'comparare': main.c:20:9: warning: implicit declaration of function 'strcpy' [-Wimplicit-function-declaration] 20 | strcpy(aux, a); | ^~~~~~ main.c:3:1: note: include '<string.h>' or provide a declaration of 'strcpy' 2 | #include <stdlib.h> +++ |+#include <string.h> 3 | main.c:20:9: warning: incompatible implicit declaration of built-in function 'strcpy' [-Wbuiltin-declaration-mismatch] 20 | strcpy(aux, a); | ^~~~~~ main.c:20:9: note: include '<string.h>' or provide a declaration of 'strcpy' main.c:20:16: warning: passing argument 1 of 'strcpy' from incompatible pointer type [-Wincompatible-pointer-types] 20 | strcpy(aux, a); | ^~~ | | | int * main.c:20:16: note: expected 'char *' but argument is of type 'int *' main.c:20:21: warning: passing argument 2 of 'strcpy' from incompatible pointer type [-Wincompatible-pointer-types] 20 | strcpy(aux, a); | ^ | | | int * main.c:20:21: note: expected 'const char *' but argument is of type 'int *' main.c:21:16: warning: passing argument 1 of 'strcpy' from incompatible pointer type [-Wincompatible-pointer-types] 21 | strcpy(a, b); | ^ | | | int * main.c:21:16: note: expected 'char *' but argument is of type 'int *' main.c:21:19: warning: passing argument 2 of 'strcpy' from incompatible pointer type [-Wincompatible-pointer-types] 21 | strcpy(a, b); | ^ | | | int * main.c:21:19: note: expected 'const char *' but argument is of type 'int *' main.c:22:16: warning: passing argument 1 of 'strcpy' from incompatible pointer type [-Wincompatible-pointer-types] 22 | strcpy(b, aux); | ^ | | | int * main.c:22:16: note: expected 'char *' but argument is of type 'int *' main.c:22:19: warning: passing argument 2 of 'strcpy' from incompatible pointer type [-Wincompatible-pointer-types] 22 | strcpy(b, aux); | ^~~ | | | int * main.c:22:19: note: expected 'const char *' but argument is of type 'int *' main.c: In function 'scadere': main.c:29:12: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration]
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 159 ms 249 kb Time limit exceeded 0
2 159 ms 512 kb Time limit exceeded 0
3 154 ms 131 kb Time limit exceeded 0
4 159 ms 512 kb Time limit exceeded 0
5 159 ms 249 kb Time limit exceeded 0
6 159 ms 249 kb Time limit exceeded 0
7 159 ms 270 kb Time limit exceeded 0
8 157 ms 176 kb Time limit exceeded 0
9 155 ms 253 kb Time limit exceeded 0
10 159 ms 249 kb Time limit exceeded 0
Punctaj total 0