QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#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))
Details
Tip: Click on the bar to expand more detailed information
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