QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#837871 | #9546. Recover Statistics | YinyuDream | RE | 0ms | 0kb | Python3 | 566b | 2024-12-30 15:29:49 | 2024-12-30 15:29:51 |
answer
def main():
data = input().split()
index = 0
T = int(data[index])
index += 1
results = []
for _ in range(T):
a = int(data[index])
index += 1
b = int(data[index])
index += 1
c = int(data[index])
index += 1
n = 100
dataset = ([a] * 50) + ([b] * 45) + ([c] * 4) + [c + 1]
results.append(str(n))
results.append(' '.join(map(str, dataset)))
print('\n'.join(results))
if __name__ == "__main__":
main()
详细
Test #1:
score: 0
Dangerous Syscalls
input:
50 95 99