摘要:
From my Codeforces Blog 阅读全文
摘要:
解法原理1 首先我们需要明白 \(\operatorname{nand}\) 的运算: \[\operatorname{not}(a\operatorname{nand}b)=a\operatorname{and}b\tag{1} \]这个很好理解,因为 \(\operatorname{nand}\ 阅读全文
摘要:
throw 主要是用来抛出异常. throw 可以直接向主程序 throw 一个东西,可以是各种数据类型,显示在界面上就是抛出的数据类型. int main(){ throw 1; } terminate called after throwing an instance of 'int' Proc 阅读全文
摘要:
#51 HDK: 你们别让我拿到核导弹 HDK: 否则我就给自己先来一炮 #52 大黄: 昨天我看贴吧,看见有个人说自己做梦梦见外型虫族入侵了地球 大黄: 然后虫族女王来找他,用自己黏糊糊的触手包裹住他的牛至,然后他就醒了 HDK: 感觉不如被魅魔用柰子闷死 大黄: 诶其实这个也行 #53 (正在上 阅读全文
摘要:
还是看看简单而富有美感的爆搜吧 #include<bits/stdc++.h> using namespace std; #define int long long #define tests int cases;cin>>cases;while(cases--) int n,l; vector<i 阅读全文