Borderou de evaluare (job #1255016)

Utilizator AndrewTheGreatAndrei Alexandrescu AndrewTheGreat Data 3 noiembrie 2014 23:40:11
Problema Elementul majoritar Status done
Runda Arhiva educationala Compilator c | Vezi sursa
Scor 30

Raport evaluator

Compilare: user.c: In function ‘main’: user.c:6:9: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result] freopen("elmaj.in", "r", stdin); ^ user.c:7:9: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result] freopen("elmaj.out", "w", stdout); ^ user.c:12:7: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ user.c:14:8: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &elem); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms256kbOK10
20ms252kbOK10
30ms252kbOK10
40ms220kbKilled by signal 11(SIGSEGV).0
50ms220kbKilled by signal 11(SIGSEGV).0
60ms224kbKilled by signal 11(SIGSEGV).0
70ms220kbKilled by signal 11(SIGSEGV).0
80ms228kbKilled by signal 11(SIGSEGV).0
90ms220kbKilled by signal 11(SIGSEGV).0
100ms220kbKilled by signal 11(SIGSEGV).0
Punctaj total30

Ceva nu functioneaza?