Borderou de evaluare (job #2334573)

Utilizator adieldinuadieldinu adieldinu Data 2 februarie 2019 18:26:28
Problema Cautare binara Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp:32:33: warning: multi-character character constant [-Wmultichar] if(a[t]==x) out<<t<<'/n'; ^~~~ main.cpp:33:31: warning: multi-character character constant [-Wmultichar] else out<<-1<<'/n'; ^~~~ main.cpp:38:21: warning: multi-character character constant [-Wmultichar] out<<t<<'/n'; ^~~~ main.cpp:42:21: warning: multi-character character constant [-Wmultichar] out<<t<<'/n'; ^~~~ main.cpp: In function 'int main()': main.cpp:36:14: warning: this 'if' clause does not guard... [-Wmisleading-indentation] else if(k==1) ^~ main.cpp:38:13: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if' out<<t<<'/n'; ^~~ main.cpp:40:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(k==2) ^~ main.cpp:42:13: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if' out<<t<<'/n'; ^~~ main.cpp: In function 'int cbin(int)': main.cpp:15:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ main.cpp: In function 'int main()': main.cpp:38:18: warning: 't' may be used uninitialized in this function [-Wmaybe-uninitialized] out<<t<<'/n'; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
12ms131kbKilled by Signal 1100
22ms131kbKilled by Signal 1100
32ms131kbKilled by Signal 1100
43ms131kbKilled by Signal 1100
55ms131kbKilled by Signal 1100
625ms393kbKilled by Signal 110
729ms524kbKilled by Signal 1100
824ms524kbKilled by Signal 110
931ms524kbKilled by Signal 110
1026ms524kbKilled by Signal 110
Punctaj total0

Ceva nu functioneaza?