摘要:
牛客寒假集训营一 Easy A-DFS搜索 #include <bits/stdc++.h> using namespace std; const int N = 1e6 + 10; #define int long long void solve() { int n ; cin >> n; str 阅读全文
摘要:
Problem - A - Codeforces 暴力枚举 就可以; #include <bits/stdc++.h> #define int long long using namespace std; vector<int>a; int n; signed main() { int _; cin 阅读全文
摘要:
Problem - A - Codeforces 思维题,判断c字符串的每一位是否都能在相对应的a字符串或者b字符串里面 找到; 如果都能找到的话就输出 NO;否则输出YES; #include <bits/stdc++.h> using namespace std; int main() { st 阅读全文
摘要:
Problem - A - Codeforces 没什么问题,几个if else语句,判断一下条件; #include <bits/stdc++.h> using namespace std; typedef long long LL; int main() { int k; cin >> k; w 阅读全文
摘要:
Codeforces 918(div4) Problem - A - Codeforces #include<bits/stdc++.h> using namespace std; const int N = 1e5 + 10; int a[N]; int main() { long long n; 阅读全文
摘要:
A.数列倒序 #include <bits/stdc++.h> using namespace std; const int N = 10010; int a[N]; int main() { for(int i = 1; i <= 10 ; i ++) cin >> a[i]; for(int i 阅读全文