Pagini recente » Borderou de evaluare (job #2616770) | Borderou de evaluare (job #887644) | Borderou de evaluare (job #3118028) | Borderou de evaluare (job #1494118) | Borderou de evaluare (job #2127601)
Borderou de evaluare (job #2127601)
Raport evaluator
Compilare:
user.c: In function ‘main’:
user.c:45:9: warning: passing argument 1 of ‘scanf’ from incompatible pointer type [-Wincompatible-pointer-types]
scanf(input, "%i", &a);
^
In file included from /usr/include/features.h:367:0,
from /usr/include/stdio.h:27,
from user.c:1:
/usr/include/stdio.h:446:12: note: expected ‘const char * restrict’ but argument is of type ‘FILE * {aka struct _IO_FILE *}’
extern int __REDIRECT (scanf, (const char *__restrict __format, ...),
^
user.c:46:9: warning: passing argument 1 of ‘scanf’ from incompatible pointer type [-Wincompatible-pointer-types]
scanf(input, "%i", &b);
^
In file included from /usr/include/features.h:367:0,
from /usr/include/stdio.h:27,
from user.c:1:
/usr/include/stdio.h:446:12: note: expected ‘const char * restrict’ but argument is of type ‘FILE * {aka struct _IO_FILE *}’
extern int __REDIRECT (scanf, (const char *__restrict __format, ...),
^
user.c:41:2: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(input, "%i", &T);
^
user.c:45:3: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]
scanf(input, "%i", &a);
^
user.c:46:3: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]
scanf(input, "%i", &b);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 792kb | Incorect | 0 | 0 |
2 | 0ms | 808kb | Incorect | 0 | 0 |
3 | 0ms | 880kb | Incorect | 0 |
4 | Depăşit | 856kb | Time limit exceeded. | 0 | 0 |
5 | Depăşit | 876kb | Time limit exceeded. | 0 | 0 |
6 | Depăşit | 876kb | Time limit exceeded. | 0 | 0 |
7 | Depăşit | 756kb | Time limit exceeded. | 0 | 0 |
8 | Depăşit | 860kb | Time limit exceeded. | 0 |
9 | Depăşit | 792kb | Time limit exceeded. | 0 |
10 | Depăşit | 752kb | Time limit exceeded. | 0 |
Punctaj total | 0 |