提出 #55342933


ソースコード 拡げる

#ABC361_20240706_B
a,b,c,d,e,f=map(int,input().split())
g,h,i,j,k,l=map(int,input().split())
if(d<=g or j<=a):
    n=1
else:
    if(e<=h or k<=b):
        n=1
    else:
        if(f<=i or l<=c):
            n=1
        else:
            exit(print("Yes"))
print("No")

提出情報

提出日時
問題 B - Intersection of Cuboids
ユーザ Konini
言語 Python (PyPy 3.10-v7.3.12)
得点 250
コード長 282 Byte
結果 AC
実行時間 58 ms
メモリ 76584 KiB

ジャッジ結果

セット名 Sample All
得点 / 配点 0 / 0 250 / 250
結果
AC × 3
AC × 22
セット名 テストケース
Sample sample_01.txt, sample_02.txt, sample_03.txt
All hand.txt, random_01.txt, random_02.txt, random_03.txt, random_04.txt, random_05.txt, random_06.txt, random_07.txt, random_08.txt, random_09.txt, random_10.txt, random_11.txt, random_12.txt, random_13.txt, random_14.txt, random_15.txt, random_16.txt, random_17.txt, random_18.txt, sample_01.txt, sample_02.txt, sample_03.txt
ケース名 結果 実行時間 メモリ
hand.txt AC 56 ms 76204 KiB
random_01.txt AC 57 ms 76468 KiB
random_02.txt AC 57 ms 76204 KiB
random_03.txt AC 57 ms 76584 KiB
random_04.txt AC 57 ms 76284 KiB
random_05.txt AC 58 ms 76160 KiB
random_06.txt AC 57 ms 76532 KiB
random_07.txt AC 57 ms 76292 KiB
random_08.txt AC 57 ms 76460 KiB
random_09.txt AC 57 ms 76380 KiB
random_10.txt AC 57 ms 76448 KiB
random_11.txt AC 57 ms 76568 KiB
random_12.txt AC 57 ms 76192 KiB
random_13.txt AC 57 ms 76316 KiB
random_14.txt AC 57 ms 76504 KiB
random_15.txt AC 58 ms 76348 KiB
random_16.txt AC 58 ms 76340 KiB
random_17.txt AC 58 ms 76308 KiB
random_18.txt AC 58 ms 76304 KiB
sample_01.txt AC 57 ms 76176 KiB
sample_02.txt AC 58 ms 76468 KiB
sample_03.txt AC 58 ms 76176 KiB