Borderou de evaluare (job #2454949)

Utilizator cristi1990anCornea Cristian cristi1990an Data 10 septembrie 2019 14:41:49
Problema Cifra Status done
Runda Arhiva de probleme Compilator c-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.c: In function 'main': main.c:74:8: warning: pointer targets in passing argument 1 of 'fgets' differ in signedness [-Wpointer-sign] fgets(c, 99999, f); ^ In file included from /usr/include/stdio.h:936:0, from main.c:2: /usr/include/x86_64-linux-gnu/bits/stdio2.h:253:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' fgets (char *__restrict __s, int __n, FILE *__restrict __stream) ^~~~~ main.c:75:9: warning: pointer targets in passing argument 1 of 'sscanf' differ in signedness [-Wpointer-sign] sscanf(c, "%u", &T); ^ In file included from /usr/include/features.h:367:0, from /usr/include/stdio.h:27, from main.c:2: /usr/include/stdio.h:448:12: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern int __REDIRECT_NTH (sscanf, (const char *__restrict __s, ^ main.c:81:9: warning: pointer targets in passing argument 1 of 'fgets' differ in signedness [-Wpointer-sign] fgets(c, 99999, f); ^ In file included from /usr/include/stdio.h:936:0, from main.c:2: /usr/include/x86_64-linux-gnu/bits/stdio2.h:253:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' fgets (char *__restrict __s, int __n, FILE *__restrict __stream) ^~~~~ main.c:82:10: warning: pointer targets in passing argument 1 of 'sscanf' differ in signedness [-Wpointer-sign] sscanf(c, "%u", &t[i]); ^ In file included from /usr/include/features.h:367:0, from /usr/include/stdio.h:27, from main.c:2: /usr/include/stdio.h:448:12: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern int __REDIRECT_NTH (sscanf, (const char *__restrict __s, ^ main.c:74:2: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(c, 99999, f); ^~~~~~~~~~~~~~~~~~ main.c:81:3: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(c, 99999, f); ^~~~~~~~~~~~~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
16ms1048kbKilled by Signal 110
22ms131kbKilled by Signal 70
32ms131kbKilled by Signal 110
43ms131kbKilled by Signal 110
53ms131kbKilled by Signal 110
64ms131kbKilled by Signal 70
78ms131kbKilled by Signal 70
814ms131kbKilled by Signal 70
922ms131kbKilled by Signal 70
1042ms262kbKilled by Signal 70
Punctaj total0

Ceva nu functioneaza?