QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#154745 | #7117. Quine | ucup-team061# | 100 ✓ | 4ms | 8036kb | Python3 | 131b | 2023-08-31 21:45:22 | 2023-08-31 21:45:22 |
Judging History
answer
q = chr(39)
n = chr(10)
s = 'q = chr(39)%sn = chr(10)%ss = %s%s%s%sprint(s %% (n, n, q, s, q, n))'
print(s % (n, n, q, s, q, n))
詳細信息
Test #1:
score: 100
Accepted
time: 4ms
memory: 8036kb
input:
output:
q = chr(39) n = chr(10) s = 'q = chr(39)%sn = chr(10)%ss = %s%s%s%sprint(s %% (n, n, q, s, q, n))' print(s % (n, n, q, s, q, n))
result:
ok 4 lines