开奖(
creation_hy · · 个人记录
标准序列(生成程序见link):
13 31 10 25 4 8 14
检验程序:
#include <bits/stdc++.h>
using namespace std;
int Std[7] = {13, 31, 10, 25, 4, 8, 14}, Input;
int main()
{
ios::sync_with_stdio(false);
cin.tie(nullptr);
srand(time(0));
while (true)
{
int cnt = 0;
for (int i = 0; i < 7; i++)
{
cin >> Input;
if (Input == Std[i])
cnt++;
}
cout << cnt << '\n';
}
return 0;
}
结果:(行数为页数)('-'为多次抽奖作废或其他评论)
0 0
0 0 0 0 0 0 0 0 1 0
2 - 0 0 0 0 0 0 0 0
0 0 0 0 2 0 - - 0 0
- 0 0 0 1 0 0 0 0 0
0 0 - 1 0 - - 0 1 0
0 0 -
中奖:
@shipeiqian 1
@hyc12528 2
@kbtyyds 2
@zhuzhengqin 1
@cannotdp 1
啊这,那改一下吧,改成每1分一道题,随机蓝/紫(都是这三天的)
开奖
秀做题记录
做题记录:
(蓝)https://www.luogu.com.cn/record/93079736
(蓝)https://www.luogu.com.cn/record/93044567
(蓝)https://www.luogu.com.cn/record/93011647
(蓝)https://www.luogu.com.cn/record/92968778
(蓝)https://www.luogu.com.cn/record/92939087
(紫)https://www.luogu.com.cn/record/92769067
(紫)https://www.luogu.com.cn/record/92749613