Borderou de evaluare (job #766150)

Utilizator avatar RobertSerb hacker ^_^ RobertSerb IP ascuns
Problemă Robot1 (clasa a 5-a) Compilator c-32
Rundă Arhiva de probleme Status evaluat
Dată 3 mar. 2024 17:18:12 Scor 50

Raport evaluator

Compilare: main.c: In function 'main': main.c:32:40: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] 32 | fprintf(fout, "%d\n", (int)strlen(ecran)); | ^~~~~~ 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:40: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 32 | fprintf(fout, "%d\n", (int)strlen(ecran)); | ^~~~~~ main.c:32:40: note: include '<string.h>' or provide a declaration of 'strlen' main.c:8:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 8 | fscanf(fin, "%d", &cerinta); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:12:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 12 | fscanf(fin, "%s", program); | ^~~~~~~~~~~~~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 245 kb OK 5
2 1 ms 245 kb OK 5
3 1 ms 245 kb OK 5
4 1 ms 245 kb OK 5
5 1 ms 245 kb OK 5
6 1 ms 245 kb OK 5
7 1 ms 245 kb OK 5
8 1 ms 245 kb OK 5
9 1 ms 249 kb Incorect 0
10 1 ms 249 kb Incorect 0
11 1 ms 249 kb Incorect 0
12 1 ms 249 kb Incorect 0
13 1 ms 249 kb Incorect 0
14 1 ms 249 kb Incorect 0
15 1 ms 249 kb Incorect 0
16 1 ms 249 kb Incorect 0
17 1 ms 249 kb Incorect 0
18 1 ms 249 kb Incorect 0
19 1 ms 245 kb OK 5
20 1 ms 266 kb OK 5
Punctaj total 50