什么?签到?
You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.
Background
哈 蒟蒻来出题了 emmm....就是很简单的签到
Description
首先给出一串数字,一个数字c,找到所有a-b=c的数对个数就ok,但是如果数字总数大于或者等于10的要额外输出QAQ
Format
Input
输入有俩行 第一行,一个数字n,一个数字c; 第二行,一串个数为n的数字
Output
输出满足a-b=c的个数
Samples
5 5
7 7 6 8 2
2
10 3
1 0 1 0 1 0 1 0 1 0
0
QAQ
提示
样例二输出QAQ是因为数字总数大于等于10,而不是因为a-b=c的个数大于等于10
Limitation
1s, 1024KiB for each test case.
ACM21级内卷赛验题
- Status
- Done
- Rule
- ACM/ICPC
- Problem
- 18
- Start at
- 2022-8-18 18:30
- End at
- 2022-8-29 18:30
- Duration
- 264 hour(s)
- Host
- Partic.
- 1