QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#815762#9884. Grid Constructionucup-team5243#WA 15ms10600kbPython3217b2024-12-15 16:58:332024-12-15 16:58:38

Judging History

This is the latest submission verdict.

  • [2024-12-15 16:58:38]
  • Judged
  • Verdict: WA
  • Time: 15ms
  • Memory: 10600kb
  • [2024-12-15 16:58:33]
  • 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 <= 5
    print("No")

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 3ms
memory: 10544kb

input:

3 3

output:

Yes
<<^
v.^
v>>

result:

ok Correct

Test #2:

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

input:

4 4

output:

No

result:

ok Correct : No

Test #3:

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

input:

4 5

output:

No

result:

ok Correct : No

Test #4:

score: -100
Wrong Answer
time: 15ms
memory: 10600kb

input:

11 17

output:

No

result:

wrong answer Incorrect