1129711511511911111410096234183176109119206163129208102132631072477671382311641228010717710121397160216130941034422491351531952542142042212010417692502361865016015813621817721819614024011173210721117018713290631941066622184168211118201220201551611586422931177241021224113946112515922518478624313439126015210223973231982481351582251272696193
string decimalToBinary(vector<int> decimal, int length = 7) { string binary; for (int dec: decimal) { for (int i = length; i >= 0; i--) { int k = dec >> i; if (k & 1) { binary.append("1"); } else { binary.append("0"); } } } return binary; }
Quote:What is the size limit for a C++ number?
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)