Borderou de evaluare (job #1785224)
Raport evaluator
Compilare:
user.c: In function ‘main’:
user.c:20:9: warning: format ‘%s’ expects argument of type ‘char *’, but argument 2 has type ‘char (*)[40]’ [-Wformat=]
{scanf("%s",&sir);
^
user.c:34:9: warning: unknown conversion type character 0xa in format [-Wformat=]
printf("%ll\n",m+1);
^
user.c:34:9: warning: too many arguments for format [-Wformat-extra-args]
user.c:7:14: warning: unused variable ‘g’ [-Wunused-variable]
FILE *f,*g;
^
user.c:7:11: warning: unused variable ‘f’ [-Wunused-variable]
FILE *f,*g;
^
user.c:11:12: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result]
freopen("kbiti.in","r",stdin);
^
user.c:12:12: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result]
freopen("kbiti.out","w",stdout);
^
user.c:14:10: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.c:20:15: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]
{scanf("%s",&sir);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 268kb | Incorect | 0 |
2 | 0ms | 272kb | Incorect | 0 |
3 | 0ms | 272kb | Incorect | 0 |
4 | 0ms | 268kb | Incorect | 0 |
5 | 0ms | 276kb | Incorect | 0 |
6 | 8ms | 272kb | Incorect | 0 |
7 | 24ms | 276kb | Incorect | 0 |
8 | 36ms | 276kb | Incorect | 0 |
9 | 76ms | 272kb | Incorect | 0 |
10 | 80ms | 268kb | Incorect | 0 |
Punctaj total | 0 |