Borderou de evaluare (job #1892479)

Utilizator romykPrehari Romica romyk Data 24 februarie 2017 23:29:14
Problema Ciurul lui Eratosthenes Status done
Runda Arhiva educationala Compilator c | Vezi sursa
Scor 30

Raport evaluator

Compilare: user.c: In function ‘main’: user.c:16:5: warning: format ‘%d’ expects argument of type ‘int *’, but argument 2 has type ‘long int *’ [-Wformat=] scanf("%d", &n); ^ user.c:13:12: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result] freopen("ciur.in", "r", stdin); ^ user.c:14:12: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result] freopen("ciur.out", "w", stdout); ^ user.c:16:10: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms272kbOK10
20ms272kbOK10
30ms304kbOK10
44ms1216kbKilled by signal 11(SIGSEGV).0
54ms1316kbKilled by signal 11(SIGSEGV).0
64ms1560kbKilled by signal 11(SIGSEGV).0
74ms1700kbKilled by signal 11(SIGSEGV).0
88ms2020kbKilled by signal 11(SIGSEGV).0
912ms2096kbKilled by signal 11(SIGSEGV).0
1012ms2200kbKilled by signal 11(SIGSEGV).0
Punctaj total30

Ceva nu functioneaza?