Borderou de evaluare (job #1892477)

Utilizator romykPrehari Romica romyk Data 24 februarie 2017 23:28:18
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
10ms280kbOK10
20ms272kbOK10
30ms304kbOK10
44ms1220kbKilled by signal 11(SIGSEGV).0
54ms1320kbKilled by signal 11(SIGSEGV).0
64ms1564kbKilled by signal 11(SIGSEGV).0
78ms1704kbKilled by signal 11(SIGSEGV).0
812ms2020kbKilled by signal 11(SIGSEGV).0
912ms2096kbKilled by signal 11(SIGSEGV).0
1012ms2196kbKilled by signal 11(SIGSEGV).0
Punctaj total30

Ceva nu functioneaza?