Borderou de evaluare (job #654794)

Utilizator avatar daria.diaconu Daria Diaconu daria.diaconu IP ascuns
Problemă Petale (clasa 7-8) Compilator c-32
Rundă Arhiva de probleme Status evaluat
Dată 8 iul. 2022 10:36:33 Scor 100

Raport evaluator

Compilare: main.c: In function 'main': main.c:10:9: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] 10 | n = strlen(s); | ^~~~~~ main.c:3:1: note: include '<string.h>' or provide a declaration of 'strlen' 2 | #include <stdlib.h> +++ |+#include <string.h> 3 | char s[201]; main.c:10:9: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 10 | n = strlen(s); | ^~~~~~ main.c:10:9: note: include '<string.h>' or provide a declaration of 'strlen' main.c:5:5: warning: ignoring return value of 'freopen' declared with attribute 'warn_unused_result' [-Wunused-result] 5 | freopen("petale.in","r", stdin); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:7:5: warning: ignoring return value of 'freopen' declared with attribute 'warn_unused_result' [-Wunused-result] 7 | freopen("petale.out","w", stdout); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:8:5: warning: ignoring return value of 'scanf' declared with attribute 'warn_unused_result' [-Wunused-result] 8 | scanf("%s", s); | ^~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 114 kb OK 5
2 1 ms 126 kb OK 5
3 1 ms 126 kb OK 5
4 1 ms 114 kb OK 5
5 1 ms 114 kb OK 5
6 1 ms 114 kb OK 5
7 1 ms 126 kb OK 5
8 1 ms 114 kb OK 5
9 1 ms 114 kb OK 5
10 1 ms 114 kb OK 5
11 1 ms 114 kb OK 5
12 1 ms 114 kb OK 5
13 1 ms 114 kb OK 5
14 1 ms 126 kb OK 5
15 1 ms 126 kb OK 5
16 1 ms 114 kb OK 5
17 1 ms 126 kb OK 5
18 1 ms 114 kb OK 5
19 1 ms 114 kb OK 5
20 1 ms 126 kb OK 5
Punctaj total 100