結果

問題 No.2090 否定論理積と充足可能性
ユーザー a aa a
提出日時 2022-09-30 23:53:42
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 184 bytes
コンパイル時間 302 ms
コンパイル使用メモリ 10,524 KB
実行使用メモリ 7,936 KB
最終ジャッジ日時 2023-08-24 17:57:48
合計ジャッジ時間 1,549 ms
ジャッジサーバーID
(参考情報)
judge14 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 15 ms
7,920 KB
testcase_01 AC 15 ms
7,864 KB
testcase_02 AC 15 ms
7,832 KB
testcase_03 AC 15 ms
7,804 KB
testcase_04 AC 15 ms
7,768 KB
testcase_05 AC 15 ms
7,896 KB
testcase_06 AC 15 ms
7,768 KB
testcase_07 AC 15 ms
7,924 KB
testcase_08 AC 16 ms
7,832 KB
testcase_09 AC 16 ms
7,892 KB
testcase_10 AC 15 ms
7,832 KB
testcase_11 WA -
testcase_12 WA -
testcase_13 WA -
testcase_14 WA -
testcase_15 AC 15 ms
7,828 KB
testcase_16 WA -
testcase_17 AC 15 ms
7,832 KB
testcase_18 AC 16 ms
7,864 KB
testcase_19 AC 16 ms
7,780 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

a,b,c,d,e,f=input().split()
x=0
if a==c or c==a:
    if d==f or e==f:
        x+=1
if a==f or b==f:
    if d==c or e==c:
        x+=1
if x>0:
    print("NO")
else:
    print("YES")
   
0