摘要:
我竟然忘记了c++如何读入整行(带空格)字符串??! 这简直太蠢了 使用getline(cin,str); 配合cin.ignore(); #include<bits/stdc++.h> using namespace std; signed main(){ int n;cin>>n; cin.ig 阅读全文
摘要:
Creating Keys for StORages Has Become My Main Skill 例如,代码为(n,x) 的存储空间的密钥是一个长度为 n 的数组 a , a1 | a2 | a3 | … | an=x 其中 a | b是数字 a 和 b 的按位 " OR" 在所有这样的数组中 阅读全文