Borderou de evaluare (job #649119)

Utilizator avatar al3x.unx Ungureanu Alexandru al3x.unx IP ascuns
Problemă Plus (clasa a 5-a) Compilator c-32
Rundă Arhiva de probleme Status evaluat
Dată 4 mai 2022 10:20:19 Scor 100

Raport evaluator

Compilare: main.c: In function 'main': main.c:31:19: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] 31 | int nrcifre = strlen(nstr); | ^~~~~~ main.c:3:1: note: include '<string.h>' or provide a declaration of 'strlen' 2 | #include <stdlib.h> +++ |+#include <string.h> 3 | main.c:31:19: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 31 | int nrcifre = strlen(nstr); | ^~~~~~ main.c:31:19: note: include '<string.h>' or provide a declaration of 'strlen' main.c:24:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 24 | fscanf(pIn, "%s", nstr); | ^~~~~~~~~~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 114 kb OK 10
2 1 ms 114 kb OK 10
3 1 ms 114 kb OK 10
4 1 ms 114 kb OK 10
5 1 ms 114 kb OK 10
6 1 ms 114 kb OK 10
7 1 ms 114 kb OK 10
8 1 ms 114 kb OK 10
9 2 ms 114 kb OK 10
10 1 ms 114 kb OK 10
Punctaj total 100