QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#815758 | #9884. Grid Construction | ucup-team5243# | WA | 15ms | 10608kb | Python3 | 217b | 2024-12-15 16:57:52 | 2024-12-15 16:57:52 |
Judging History
answer
H,W = map(int,input().split())
if H == 3 and W == 3:
print("""Yes
<<^
v.^
v>>""")
elif H == 4 and W == 4:
print("No")
elif H == 4 and W == 5:
print("No")
else:
assert W <= 5
print("No")
Details
Tip: Click on the bar to expand more detailed information
Test #1:
score: 100
Accepted
time: 15ms
memory: 10604kb
input:
3 3
output:
Yes <<^ v.^ v>>
result:
ok Correct
Test #2:
score: 0
Accepted
time: 9ms
memory: 10532kb
input:
4 4
output:
No
result:
ok Correct : No
Test #3:
score: 0
Accepted
time: 15ms
memory: 10600kb
input:
4 5
output:
No
result:
ok Correct : No
Test #4:
score: -100
Wrong Answer
time: 14ms
memory: 10608kb
input:
11 17
output:
No
result:
wrong answer Incorrect