Borderou de evaluare (job #608475)

Utilizator avatar andreifilimon Popescu Filimon Andrei Cosmin andreifilimon IP ascuns
Problemă Parola 1 (clasa 7-8) Compilator c-32
Rundă Arhiva de probleme Status evaluat
Dată 3 oct. 2021 14:54:30 Scor 100

Raport evaluator

Compilare: main.c: In function 'adauga': main.c:17:24: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] 17 | if( cc >= 2 && strcmp( cuvant, sol ) < 0 ) | ^~~~~~ main.c:18:13: warning: implicit declaration of function 'strcpy' [-Wimplicit-function-declaration] 18 | strcpy( sol, cuvant ); | ^~~~~~ main.c:18:13: warning: incompatible implicit declaration of built-in function 'strcpy' main.c:3:1: note: include '<string.h>' or provide a declaration of 'strcpy' 2 | #include <stdlib.h> +++ |+#include <string.h> 3 | main.c: In function 'main': main.c:32:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 32 | fscanf(fin, "%d%d", &n, &m ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:35:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 35 | fscanf(fin, "%s", p[lin] ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 131 kb OK 10
2 1 ms 131 kb OK 10
3 1 ms 131 kb OK 10
4 1 ms 131 kb OK 10
5 1 ms 131 kb OK 10
6 1 ms 131 kb OK 10
7 1 ms 131 kb OK 10
8 1 ms 131 kb OK 10
9 1 ms 131 kb OK 10
10 1 ms 131 kb OK 10
Punctaj total 100