QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#724659#9546. Recover Statisticslxl#WA 0ms3684kbC++20635b2024-11-08 14:19:042024-11-08 14:19:05

Judging History

你现在查看的是最新测评结果

  • [2024-11-08 14:19:05]
  • 评测
  • 测评结果:WA
  • 用时:0ms
  • 内存:3684kb
  • [2024-11-08 14:19:04]
  • 提交

answer

#define _CRT_SECURE_NO_WARNINGS 1
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
const ll MAX = 0x3f3f3f3f;
const ll mod = 998244353;
const ll N = 2e5 + 10;

void solve() {
	ll a, b, c; cin >> a >> b >> c;
	ll aa = a, bb = b, cc = c;
	cout << 100 << endl;
	for (int i = 1; i <= 100; i++) {
		if (i <= 50) {
			cout << 1 << " ";
		}
		else if (i <= 95) {
			cout << b - 1 << " ";
		}
		else if (i <= 99) {
			cout << c - 1 << " ";
		}
	}
	cout << c + 1;
}
int main() {
	ios::sync_with_stdio(0);
	cin.tie(0); cout.tie(0);
	int t = 1;
	//cin >> t;
	while (t--)
		solve();
	return 0;
}

詳細信息

Test #1:

score: 100
Accepted
time: 0ms
memory: 3608kb

input:

50
95
99

output:

100
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94 98 98 98 98 100

result:

ok ok

Test #2:

score: -100
Wrong Answer
time: 0ms
memory: 3684kb

input:

1
2
3

output:

100
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 2 2 2 4

result:

wrong answer wrong p50: 95 / 100