ux-trieã§ä½¿ããã¦ããç°¡æ½ããããã¯ãã«ã®è©ä¾¡å®é¨ã«ç¨ããã½ã¼ã¹ã³ã¼ããããã¦ããã¾ãã ç°¡æ½ããããã¯ãã«æ§ç¯ç¨ã³ã¼ã(ux_make.cc) #include "rsDic.hpp" #include <iostream> using namespace std; using namespace ux; int main(int argc, char **argv) { try { BitVec bv; if (argc < 1) { cerr << "USAGE: ux_make < infile > bvfile" << endl; } uint64_t n = 0; uint64_t pos = 0; while (cin >> n) { while (pos < n) { pos++; bv.push_back(0); } pos++; bv.push_back(1);
{{#tags}}- {{label}}
{{/tags}}