摘要:
定义: mex(minimal excludant)运算,这是施加于一个集合的运算,表示最小的不属于这个集合的非负整数。例如mex{0,1,2,4}=3、mex{1,3,5}=0、mex{}=0。 设SG(x) = { SG(a),SG(b),SG(c) }; 设集合S = { SG(a),SG(b 阅读全文
posted @ 2021-06-15 21:03
Acception
阅读(559)
评论(0)
推荐(0)
摘要:
ios::cin.sync() ///清空缓冲区 ios::cin.rdstate() ///0表示正常输入数据类型,4表示发生错误 #include <iostream> int main() { int x; std::cin>>x;//1 2 std::cin.sync(); int y; s 阅读全文
posted @ 2021-06-15 17:33
Acception
阅读(71)
评论(0)
推荐(0)

浙公网安备 33010602011771号