QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#815755#9884. Grid Constructionucup-team5243#WA 15ms10596kbPython3219b2024-12-15 16:57:122024-12-15 16:57:12

Judging History

This is the latest submission verdict.

  • [2024-12-15 16:57:12]
  • Judged
  • Verdict: WA
  • Time: 15ms
  • Memory: 10596kb
  • [2024-12-15 16:57:12]
  • Submitted

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 (H != W)
    print("No")

詳細信息

Test #1:

score: 100
Accepted
time: 15ms
memory: 10536kb

input:

3 3

output:

Yes
<<^
v.^
v>>

result:

ok Correct

Test #2:

score: 0
Accepted
time: 10ms
memory: 10596kb

input:

4 4

output:

No

result:

ok Correct : No

Test #3:

score: 0
Accepted
time: 3ms
memory: 10420kb

input:

4 5

output:

No

result:

ok Correct : No

Test #4:

score: -100
Wrong Answer
time: 10ms
memory: 10540kb

input:

11 17

output:

No

result:

wrong answer Incorrect