Pagini recente » Borderou de evaluare (job #1187292) | Borderou de evaluare (job #1975877) | Borderou de evaluare (job #3192131) | Borderou de evaluare (job #2318590) | Borderou de evaluare (job #2454949)
Borderou de evaluare (job #2454949)
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 |
1 | 6ms | 1048kb | Killed by Signal 11 | 0 |
2 | 2ms | 131kb | Killed by Signal 7 | 0 |
3 | 2ms | 131kb | Killed by Signal 11 | 0 |
4 | 3ms | 131kb | Killed by Signal 11 | 0 |
5 | 3ms | 131kb | Killed by Signal 11 | 0 |
6 | 4ms | 131kb | Killed by Signal 7 | 0 |
7 | 8ms | 131kb | Killed by Signal 7 | 0 |
8 | 14ms | 131kb | Killed by Signal 7 | 0 |
9 | 22ms | 131kb | Killed by Signal 7 | 0 |
10 | 42ms | 262kb | Killed by Signal 7 | 0 |
Punctaj total | 0 |