Borderou de evaluare (job #1830533)
Raport evaluator
Compilare:
user.c: In function ‘main’:
user.c:9:5: warning: format ‘%d’ expects argument of type ‘int *’, but argument 2 has type ‘long int *’ [-Wformat=]
scanf("%d %d",&n,&k);
^
user.c:9:5: warning: format ‘%d’ expects argument of type ‘int *’, but argument 3 has type ‘long int *’ [-Wformat=]
user.c:6:12: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result]
freopen("facebook.in","r",stdin);
^
user.c:7:12: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result]
freopen("facebook.out","w",stdout);
^
user.c:9:10: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&n,&k);
^
user.c:11:14: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%li",&a[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 264kb | OK | 20 | 0 |
2 | 0ms | 272kb | Incorect | 0 |
3 | 0ms | 268kb | Incorect | 0 |
4 | 132ms | 308kb | Incorect | 0 |
5 | Depăşit | 636kb | Time limit exceeded. | 0 |
Punctaj total | 0 |