Borderou de evaluare (job #2299613)

Utilizator menna2003Menna Ahmed menna2003 Data 9 decembrie 2018 19:58:21
Problema Strabunica Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 20

Raport evaluator

Compilare: main.cpp: In function 'int bsl(int)': main.cpp:56:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(mn (1,0,n-1,s,ind)== a[ind]) ^~ main.cpp:58:4: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if' return e+1; ^~~~~~ main.cpp: In function 'int main()': main.cpp:61:39: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("strabunica.in","r",stdin); ^ main.cpp:62:41: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("strabunica.out","w",stdout); ^ main.cpp:65:19: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&n); ^ main.cpp:67:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&a[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
17ms3276kbIncorect0
29ms3276kbOK10
320ms3276kbOK10
4101ms3407kbTime limit exceeded0
5100ms3538kbTime limit exceeded0
6102ms3670kbTime limit exceeded0
7101ms3801kbTime limit exceeded0
8101ms3932kbTime limit exceeded0
9102ms3801kbTime limit exceeded0
10100ms3801kbTime limit exceeded0
Punctaj total20

Ceva nu functioneaza?