Borderou de evaluare (job #2680990)

Utilizator morozanvladpetru@gmail.comVlad Petru [email protected] Data 4 decembrie 2020 19:23:11
Problema Cautare binara Status done
Runda Arhiva educationala Compilator c-64 | Vezi sursa
Scor 10

Raport evaluator

Compilare: main.c: In function 'binary_search': main.c:42:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ main.c: In function 'main': main.c:49:5: warning: ignoring return value of 'freopen', declared with attribute warn_unused_result [-Wunused-result] freopen("cautbin.in","r",stdin); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:50:5: warning: ignoring return value of 'freopen', declared with attribute warn_unused_result [-Wunused-result] freopen("cautbin.out","w",stdout); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:52:5: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^~~~~~~~~~~~~~~ main.c:54:9: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &v[i]); ^~~~~~~~~~~~~~~~~~ main.c:56:5: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &no_questions); ^~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:58:9: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &m); ^~~~~~~~~~~~~~~ main.c:59:9: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &y); ^~~~~~~~~~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
12ms131kbIncorect00
22ms131kbOK1010
34ms131kbKilled by Signal 1100
48ms131kbKilled by Signal 1100
52ms131kbKilled by Signal 1100
63ms131kbKilled by Signal 110
72ms131kbKilled by Signal 1100
83ms131kbKilled by Signal 110
93ms131kbKilled by Signal 110
103ms131kbKilled by Signal 110
Punctaj total10

Ceva nu functioneaza?