摘要:
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 阅读全文
posted @ 2023-12-23 22:52
不过是过客
阅读(54)
评论(0)
推荐(0)
摘要:
A.Buy Lottery Tickets 根据题意直接进行暴力dfs,因为一个return 错了四次 ; #include <bits/stdc++.h> using namespace std; const int N = 1e6 + 10; int a[N], ans[N]; bool st[ 阅读全文
posted @ 2023-12-23 22:20
不过是过客
阅读(20)
评论(0)
推荐(0)
摘要:
A.Buy Lottery Tickets 根据题意直接进行暴力dfs,因为一个return 错了四次 ; #include <bits/stdc++.h> using namespace std; const int N = 1e6 + 10; int a[N], ans[N]; bool st[ 阅读全文
posted @ 2023-12-23 22:19
不过是过客
阅读(26)
评论(0)
推荐(0)

浙公网安备 33010602011771号