提出 #43342535
ソースコード 拡げる
#ABC309_A_20230708
A,B=map(int,input().split())
flg=0
if(A==1 and B==2):
flg=1
elif(A==2 and B==3):
flg=1
elif(A==4 and B==5):
flg=1
elif(A==5 and B==6):
flg=1
elif(A==7 and B==8):
flg=1
elif(A==8 and B==9):
flg=1
if(flg==1):
print("Yes")
else:
print("No")
提出情報
ジャッジ結果
| セット名 | Sample | All | ||||
|---|---|---|---|---|---|---|
| 得点 / 配点 | 0 / 0 | 100 / 100 | ||||
| 結果 |
|
|
| セット名 | テストケース |
|---|---|
| Sample | example_00.txt, example_01.txt, example_02.txt |
| All | example_00.txt, example_01.txt, example_02.txt, test_00.txt, test_01.txt, test_02.txt, test_03.txt, test_04.txt, test_05.txt, test_06.txt, test_07.txt, test_08.txt, test_09.txt |
| ケース名 | 結果 | 実行時間 | メモリ |
|---|---|---|---|
| example_00.txt | AC | 18 ms | 8868 KiB |
| example_01.txt | AC | 21 ms | 8864 KiB |
| example_02.txt | AC | 17 ms | 9016 KiB |
| test_00.txt | AC | 22 ms | 8864 KiB |
| test_01.txt | AC | 18 ms | 9040 KiB |
| test_02.txt | AC | 21 ms | 9100 KiB |
| test_03.txt | AC | 17 ms | 8996 KiB |
| test_04.txt | AC | 17 ms | 9008 KiB |
| test_05.txt | AC | 20 ms | 8860 KiB |
| test_06.txt | AC | 19 ms | 8980 KiB |
| test_07.txt | AC | 23 ms | 9136 KiB |
| test_08.txt | AC | 18 ms | 8872 KiB |
| test_09.txt | AC | 18 ms | 9136 KiB |