Borderou de evaluare (job #2336274)

Utilizator CristianSoareSoare Cristian Costantin CristianSoare Data 4 februarie 2019 22:35:58
Problema Cautare binara Status done
Runda smenuri Compilator cpp-64 | Vezi sursa
Scor 40

Raport evaluator

Compilare: main.cpp: In function 'int cb1(int)': main.cpp:19:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (i = n;i >= 1 && v[i] > x;i--); ^~~ main.cpp:20:13: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for' return i; ^~~~~~ main.cpp: In function 'int cb2(int)': main.cpp:25:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (i = 1;i <= n && v[i] < x;i++); ^~~ main.cpp:26:9: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for' return i; ^~~~~~ main.cpp: In function 'int main()': main.cpp:30:39: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen ("cautbin.in", "r", stdin); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
12ms131kbOK1010
22ms131kbOK1010
33ms131kbOK1010
410ms131kbOK1010
5200ms262kbTime limit exceeded00
6203ms393kbTime limit exceeded0
729ms524kbKilled by Signal 1100
831ms524kbKilled by Signal 110
932ms524kbKilled by Signal 110
1033ms524kbKilled by Signal 110
Punctaj total40

Ceva nu functioneaza?