CSP 2019 提高组第一轮第18题判断题第一题题面修改
原题面:
1) (1分)程序输出时,suf数组满足:对任意0 <= i < slen, suf[i] < suf[i + 1]。 ()
新题面:
1) (1分)程序输出时,suf数组满足:对任意0 <= i < slen, suf[i] <= suf[i + 1]。 ()
by Smile_Cindy @ 2020-09-10 18:21:15
能否考虑给代码题加上行数?顺便把代码字体修正下?
by SteveFang @ 2020-09-10 18:37:16
提高组倒是有问题
2018提高组的21题
by bobbyyang @ 2020-09-11 20:08:01
![](https://cdn.luogu.com.cn/upload/image_hosting/uujthes8.png)
望修复bug
by zheysq_147 @ 2020-09-12 16:12:20
1031 - CSP 2019 提高组第一轮第20题代码更新。
```cpp
#include <cstdio>
#include<algorithm>
using namespace std;
const int maxn = 64;
int n, m;
int a[maxn], b[maxn];
unsigned long long status, trans;
bool win;
int main(){
scanf("%d%d", &n, &m);
for (int i = 0; i < n; ++i)
scanf("%d%d", &a[i], &b[i]);
for(int i = 0; i < n; ++i)
for(int j = i + 1; j < n; ++j)
if (a[i] > a[j]){
swap(a[i], a[j]);
swap(b[i], b[j]);
}
status = ①;
trans = 0;
for(int i = 1, j = 0; i <= m; ++i){
while (j < n && ②){
③;
++j;
}
win = ④;
⑤;
}
puts(win ? "Win" : "Loss");
return 0;
}
```
by Smile_Cindy @ 2020-09-12 18:03:41
CSP-S 20192019的初赛题面出了问题,请管理员修复洛谷有题。
①完善程序第二题的程序第 1515行的 aaaa改为 aa;
②完善程序第二题的第一题的 CC选项均改为0ull^1
③完善程序第二题的题面"a[i"改成"a[i]","b[il"改成"b[i]"
by ducati @ 2020-09-13 16:37:57
NOIP 2007 普及组 第 18 题:
`设A=B=True,C=D=False,一下逻辑运算表达式值为假的有( )。`
改为
`设A=B=True,C=D=False,以下逻辑运算表达式值为假的有( )。`
by 159号程序员 @ 2020-09-13 17:15:39
最后一个大题计数排序,程序填空 ,第一问和第二问前面的循环结束条件错
17行应该为
```cpp
#include <cstdio>
#include <cstring>
using namespace std;
const int maxn = 10000000;
const int maxs = 10000;
int n;
unsigned a[maxn], b[maxn],res[maxn], ord[maxn];
unsigned cnt[maxs + 1];
int main() {
scanf("%d", &n);
for (int i = 0; i < n; ++i)
scanf("%d%d", &a[i], &b[i]);
memset(cnt, 0, sizeof(cnt));
for (int i = 0; i < maxs; ++i)
①; // 利用 cnt 数组统计数量
for (int i = 0; i < n; ++i)
cnt[i + 1] += cnt[i];
for (int i = 0; i < n; ++i)
②; // 记录初步排序结果
memset(cnt, 0, sizeof(cnt));
for (int i = 0; i < n; ++i)
③; // 利用 cnt 数组统计数量
for (int i = 0; i < maxs; ++i)
cnt[i + 1] += cnt[i];
for (int i = n - 1; i >= 0; --i)
④ // 记录最终排序结果
for (int i = 0; i < n; i++)
printf("%d %d", ⑤);
return 0;
}
```
by LYB_yte23 @ 2020-09-15 09:33:22
严重BUG:
Return value of Luogu\Model\Training\TrainingProblem::getProblem() must be an instance of Luogu\Model\Problem\Problem, null returned
问题描述:
当自定义题库中有一题被删除(成功),这时自定义题库就不能访问了(显示上面报错内容)
请尽快修复!
by leon928 @ 2020-09-17 14:46:09
[1030 - CSP 2019 入门组第一轮](https://ti.luogu.com.cn/problemset/1030/exam)的第19题LaTeX/图片炸了...
~~会导致某些蒟蒻(就像我)很难理解题意...~~
by int64 @ 2020-09-17 20:57:04