30粉粉福!!!
距离三十粉还差五个,先把帖子贴出来,满了三十粉会一一回答。
2024-11-30 DFLJ留
26/30 11-30 20:19
27/30 12-14 17:53
28/30 12-18 19:49
33粉了,期末了,一段时间没登过你谷,没留意。
在评论区发问题,会抽5个来回答,不能问个人隐私,其他随意。
抽取代码
#include<bits/stdc++.h>
#define ll long long
#define double long double
using namespace std;
int main(){
ios::sync_with_stdio(0);
cin.tie(0);cout.tie(0);
srand(time(0));
int a[17]{0};
for(int i=0;i<5;i++){
int t=rand()%10+1;
while(a[t]!=0){
t=rand()%10+1;
}
cout<<t<<" ";
a[t]=1;
}
return 0;
}
目前有效回答:
1
2
3
4
5
6
7
8
9
10
问题:
Q1:
A1:
Q2:
A2:
Q3:
A3:
Q4:
A4:
Q5:
A5: