QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#815754#9884. Grid Constructionucup-team5243#WA 15ms10708kbPython3218b2024-12-15 16:56:322024-12-15 16:56:35

Judging History

This is the latest submission verdict.

  • [2024-12-15 16:56:35]
  • Judged
  • Verdict: WA
  • Time: 15ms
  • Memory: 10708kb
  • [2024-12-15 16:56:32]
  • 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 <= 10
    print("No")

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 7ms
memory: 10496kb

input:

3 3

output:

Yes
<<^
v.^
v>>

result:

ok Correct

Test #2:

score: 0
Accepted
time: 15ms
memory: 10548kb

input:

4 4

output:

No

result:

ok Correct : No

Test #3:

score: 0
Accepted
time: 12ms
memory: 10672kb

input:

4 5

output:

No

result:

ok Correct : No

Test #4:

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

input:

11 17

output:

No

result:

wrong answer Incorrect