Borderou de evaluare (job #2117191)

Utilizator 24601Dan Ban 24601 Data 28 ianuarie 2018 17:36:28
Problema Reguli Status done
Runda Arhiva de probleme Compilator c | Vezi sursa
Scor 80

Raport evaluator

Compilare: user.c: In function ‘main’: user.c:16:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int *’, but argument 2 has type ‘size_t *’ [-Wformat=] scanf("%lu %d", &n, &prev); ^ user.c:41:13: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘size_t’ [-Wformat=] printf("%lu\n", i - pi[i]); ^ user.c:13:12: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result] freopen("reguli.in", "r", stdin); ^ user.c:14:12: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result] freopen("reguli.out", "w", stdout); ^ user.c:16:10: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lu %d", &n, &prev); ^ user.c:19:14: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &c); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
18ms512kbOK10
240ms1052kbIncorect0
368ms2476kbOK10
4148ms4168kbOK10
520ms900kbOK10
612ms664kbOK10
724ms972kbOK10
80ms308kbIncorect0
90ms300kbOK10
100ms272kbOK10
Punctaj total80

Ceva nu functioneaza?