Borderou de evaluare (job #304190)

Utilizator avatar andra_alazaroaie Andra Alazaroaie andra_alazaroaie IP ascuns
Problemă Sort2dist (clasa a 8-a) Compilator c
Rundă Arhiva de probleme Status evaluat
Dată 23 apr. 2017 17:39:02 Scor 100

Raport evaluator

Compilare: user.c: In function ‘main’: user.c:11:9: warning: format ‘%s’ expects argument of type ‘char *’, but argument 3 has type ‘int (*)[30]’ [-Wformat] user.c:15:13: warning: implicit declaration of function ‘strlen’ [-Wimplicit-function-declaration] user.c:15:16: warning: incompatible implicit declaration of built-in function ‘strlen’ [enabled by default] user.c:15:13: warning: passing argument 1 of ‘strlen’ from incompatible pointer type [enabled by default] user.c:15:13: note: expected ‘const char *’ but argument is of type ‘int *’ user.c:16:13: warning: passing argument 1 of ‘strlen’ from incompatible pointer type [enabled by default] user.c:16:13: note: expected ‘const char *’ but argument is of type ‘int *’ user.c:17:13: warning: implicit declaration of function ‘strcmp’ [-Wimplicit-function-declaration] user.c:26:17: warning: implicit declaration of function ‘strcpy’ [-Wimplicit-function-declaration] user.c:26:17: warning: incompatible implicit declaration of built-in function ‘strcpy’ [enabled by default] user.c:26:17: warning: passing argument 1 of ‘strcpy’ from incompatible pointer type [enabled by default] user.c:26:17: note: expected ‘char *’ but argument is of type ‘int *’ user.c:26:17: warning: passing argument 2 of ‘strcpy’ from incompatible pointer type [enabled by default] user.c:26:17: note: expected ‘const char *’ but argument is of type ‘int *’ user.c:27:17: warning: passing argument 1 of ‘strcpy’ from incompatible pointer type [enabled by default] user.c:27:17: note: expected ‘char *’ but argument is of type ‘int *’ user.c:27:17: warning: passing argument 2 of ‘strcpy’ from incompatible pointer type [enabled by default] user.c:27:17: note: expected ‘const char *’ but argument is of type ‘int *’ user.c:28:17: warning: passing argument 1 of ‘strcpy’ from incompatible pointer type [enabled by default] user.c:28:17: note: expected ‘char *’ but argument is of type ‘int *’ user.c:28:17: warning: passing argument 2 of ‘strcpy’ from incompatible pointer type [enabled by default] user.c:28:17: note: expected ‘const char *’ but argument is of type ‘int *’ user.c:9:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] user.c:11:15: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 0 ms 264 kb OK! 4
2 0 ms 260 kb OK! 4
3 0 ms 264 kb OK! 4
4 0 ms 260 kb OK! 4
5 0 ms 276 kb OK! 4
6 0 ms 272 kb OK! 4
7 0 ms 268 kb OK! 4
8 0 ms 272 kb OK! 4
9 0 ms 272 kb OK! 4
10 4 ms 288 kb OK! 4
11 4 ms 292 kb OK! 4
12 4 ms 300 kb OK! 4
13 8 ms 304 kb OK! 4
14 12 ms 324 kb OK! 4
15 16 ms 348 kb OK! 4
16 24 ms 364 kb OK! 4
17 32 ms 372 kb OK! 4
18 64 ms 408 kb OK! 4
19 64 ms 404 kb OK! 4
20 64 ms 404 kb OK! 4
21 44 ms 384 kb OK! 4
22 52 ms 392 kb OK! 4
23 56 ms 400 kb OK! 4
24 84 ms 408 kb OK! 4
25 0 ms 252 kb OK! 4
Punctaj total 100