Borderou de evaluare (job #2336266)

Utilizator CristianSoareSoare Cristian Costantin CristianSoare Data 4 februarie 2019 22:30:18
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:41:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (i = n;i >= 1 && v[i] > x;i--); ^~~ main.cpp:42: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:47:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (i = 1;i <= n && v[i] < x;i++); ^~~ main.cpp:48: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 'void inc()': main.cpp:14:36: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread (buff, 1, DIM, stdin); ^ main.cpp: In function 'int main()': main.cpp:52: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
47ms262kbIncorect00
5182ms393kbIncorect00
6200ms524kbTime limit exceeded0
7203ms655kbTime limit exceeded00
8200ms786kbTime limit exceeded0
9200ms655kbTime limit exceeded0
10203ms655kbTime limit exceeded0
Punctaj total0

Ceva nu functioneaza?