0_0_26009155_19913.cpp: In function 'void generateAns()': 0_0_26009155_19913.cpp:9:33: error: invalid operands of types 'double' and 'int' to binary 'operator<<' ans[i] = (ans[i-1]+0.5) << 1; ^