Pagini recente » Borderou de evaluare (job #2499559) | Borderou de evaluare (job #501404) | Borderou de evaluare (job #1237819) | Borderou de evaluare (job #854389) | Borderou de evaluare (job #1602061)
Borderou de evaluare (job #1602061)
Raport evaluator
Compilare:
user.c: In function ‘main’:
user.c:25:9: warning: format ‘%d’ expects argument of type ‘int *’, but argument 2 has type ‘long long int *’ [-Wformat=]
scanf("%I64d%I64d", &n[i], &p[i]);
^
user.c:25:9: warning: format ‘%d’ expects argument of type ‘int *’, but argument 3 has type ‘long long int *’ [-Wformat=]
user.c:30:9: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%I64d\n",sol[i]);
^
user.c:20:12: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cifre4.in","r",stdin);
^
user.c:21:12: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cifre4.out","w",stdout);
^
user.c:22:10: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &t);
^
user.c:25:14: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%I64d%I64d", &n[i], &p[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 4344ms | 288kb | Incorect | 0 |
Punctaj total | 0 |