QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#837870#9546. Recover StatisticsYinyuDreamRE 0ms0kbPython3610b2024-12-30 15:28:482024-12-30 15:28:49

Judging History

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

  • [2024-12-30 15:28:49]
  • 评测
  • 测评结果:RE
  • 用时:0ms
  • 内存:0kb
  • [2024-12-30 15:28:48]
  • 提交

answer

def main():
    import sys
    input = sys.stdin.read
    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

output:


result: