🌈 搜索
📅  最后修改于: 2022-03-11 14:44:45.718000             🧑  作者: Mango
OK = false; while (!OK) { in(); i = n; while (a[i] == '1') a[i--] = '0'; if (i==0) OK = true; else { a[i] = '1'; } }