Borderou de evaluare (job #1784420)
Raport evaluator
Compilare:
user.c: In function ‘main’:
user.c:16:17: warning: integer overflow in expression [-Woverflow]
int a=(1 << 31) - 1;
^
user.c:18:17: warning: integer overflow in expression [-Woverflow]
int b=(1 << 31) - 1;
^
user.c:26:9: warning: format ‘%s’ expects argument of type ‘char *’, but argument 2 has type ‘char (*)[40]’ [-Wformat=]
{scanf("%s",&sir);
^
user.c:40:9: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d\n",m+1);
^
user.c:9:9: warning: unused variable ‘x’ [-Wunused-variable]
int x,n,lungime,i,j,k;
^
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:26: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 | OK | 10 |
2 | 0ms | 272kb | OK | 10 |
3 | 0ms | 272kb | OK | 10 |
4 | 0ms | 268kb | OK | 10 |
5 | 0ms | 276kb | OK | 10 |
6 | 8ms | 272kb | OK | 10 |
7 | 24ms | 272kb | OK | 10 |
8 | 40ms | 276kb | OK | 10 |
9 | 84ms | 268kb | OK | 10 |
10 | 88ms | 268kb | Incorect | 0 |
Punctaj total | 90 |