QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#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()
Details
Tip: Click on the bar to expand more detailed information
Test #1:
score: 0
Dangerous Syscalls
input:
50 95 99