Borderou de evaluare (job #2375011)

Utilizator Carol_LucaCarol Luca Carol_Luca Data 7 martie 2019 21:47:13
Problema Margele Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int get_stare(int, int)': main.cpp:33:25: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] return (v[x]<<1)&((1<<k)-1)|1; ~~~~~~~~~^~~~~~~~~~~ main.cpp: In function 'int main()': main.cpp:97:33: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] stare = (val<<1)&((1<<k)-1)|1; ~~~~~~~~^~~~~~~~~~~ main.cpp:45:39: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(fin,"%d%d%d%d",&n,&k,&a,&b); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
13ms393kbOK10
24ms393kbOK10
332ms393kbOK10
430ms393kbOK10
521ms393kbOK10
63ms393kbOK10
763ms393kbOK10
82ms393kbOK10
9281ms524kbOK10
10327ms393kbOK10
Punctaj total100

Ceva nu functioneaza?