Tips:三题尚未完成。 #include <iostream>
#include <algorithm>
using namespace std;
int a[110];
int main(){int n,r,sum0;cin>>n>>r;for(int i0;i<n;i){cin>>a[i];}sort(a0,an);for(int i0;i<n;i){if(i>r){a[i]a[i-r]a[i];}suma[…
L1-009 N个数求和 #include <iostream>
#include <algorithm>using namespace std;typedef long long ll;
const int N 105;typedef struct node {ll x, y;
}node;
node a[N];ll gcd(ll a, ll b)
{return b ? gcd(b, a % b) : a;
}int main()
{int n;cin >>…
#先投稿,先送审#
第四届网络安全、人工智能与数字经济国际学术会议(CSAIDE 2025)
2025 4th International Conference on Cyber Security, Artificial Intelligence and Digital Economy 重要信息
会议官网:www.csaide.net
会…