摘要:
A 非常好特判 一共就五种情况,相等,或者正反两种包含(都是不能可能不包含),或者正反两种先后(都是可能不相等),写五个 if 就行了 B 我到底为什么要跳了这题??????????????????????????????????????????? 显而易见这玩意模着模着就变成循环了(我真没看出来) 阅读全文
摘要:
throw 主要是用来抛出异常. throw 可以直接向主程序 throw 一个东西,可以是各种数据类型,显示在界面上就是抛出的数据类型. int main(){ throw 1; } terminate called after throwing an instance of 'int' Proc 阅读全文
摘要:
还是看看简单而富有美感的爆搜吧 #include<bits/stdc++.h> using namespace std; #define int long long #define tests int cases;cin>>cases;while(cases--) int n,l; vector<i 阅读全文