Borderou de evaluare (job #2336272)

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

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-1; ^~~~~~ 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+1; ^~~~~~ 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
12ms131kbIncorect00
22ms131kbIncorect00
33ms131kbIncorect00
48ms131kbIncorect00
5182ms262kbIncorect00
6201ms393kbTime limit exceeded0
7203ms524kbTime limit exceeded00
8201ms524kbTime limit exceeded0
9202ms524kbTime limit exceeded0
10203ms524kbTime limit exceeded0
Punctaj total0

Ceva nu functioneaza?