摘要: #include <iostream>using namespace std;int main(){ int n,x,m=-1; int s[10000]={0}; cin>>n; for(int i=0;i<n;++i) { cin>>s[i]; } cin>>x; for(int j=0;j<n 阅读全文
posted @ 2022-05-26 21:01 四面楚歌2022 阅读(122) 评论(0) 推荐(0)
摘要: #include <iostream> using namespace std; int main() { int n; int s[20001]={0}; int a[20001]={0}; cin>>n; for(int i=0;i<n;++i) { cin>>s[i]; for(int j=0 阅读全文
posted @ 2022-05-24 22:07 四面楚歌2022 阅读(733) 评论(0) 推荐(0)
摘要: #include <iostream>#include <iomanip>using namespace std;int main(){ int n; int s[100]={0}; int a[4]={0}; cin>>n; for(int i=0;i<n;++i) { cin>>s[i]; if 阅读全文
posted @ 2022-05-24 22:04 四面楚歌2022 阅读(819) 评论(0) 推荐(1)