Submission #3434206


Source Code Expand

a = list(map(int,input().split(" ")))
b = list(map(int,input().split(" ")))
if b[0] <= a[0] or b[0] <= a[1] or b[0] <= a[2]:
    if b[1] <= a[0] or b[1] <= a[1] or b[1] <= a[2]:
        if b[2] <= a[0] or b[2] <= a[1] or b[2] <= a[2]:
            print((a[0] * a[1] * a[2]) // (b[0] * b[1] * b[2]))
        else:
            print(0)
    else:
        print(0)
else:
    print(0)

Submission Info

Submission Time
Task A - 梱包できるかな?
User beetiruka
Language Python (3.4.3)
Score 0
Code Size 390 Byte
Status WA
Exec Time 17 ms
Memory 3064 KB

Judge Result

Set Name All
Score / Max Score 0 / 100
Status
AC × 27
WA × 8
Set Name Test Cases
All 00_sample_01.txt, 00_sample_02.txt, 00_sample_03.txt, 00_sample_04.txt, 01_rand_00.txt, 01_rand_01.txt, 01_rand_02.txt, 01_rand_03.txt, 01_rand_04.txt, 01_rand_05.txt, 01_rand_06.txt, 01_rand_07.txt, 01_rand_08.txt, 01_rand_09.txt, 01_rand_10.txt, 01_rand_11.txt, 01_rand_12.txt, 01_rand_13.txt, 01_rand_14.txt, 01_rand_15.txt, 01_rand_16.txt, 01_rand_17.txt, 01_rand_18.txt, 01_rand_19.txt, 01_rand_20.txt, 01_rand_21.txt, 01_rand_22.txt, 01_rand_23.txt, 01_rand_24.txt, 01_rand_25.txt, 01_rand_26.txt, 01_rand_27.txt, 01_rand_28.txt, 01_rand_29.txt, 99_min.txt
Case Name Status Exec Time Memory
00_sample_01.txt AC 17 ms 3064 KB
00_sample_02.txt AC 16 ms 3064 KB
00_sample_03.txt AC 16 ms 3064 KB
00_sample_04.txt AC 17 ms 3064 KB
01_rand_00.txt AC 17 ms 3064 KB
01_rand_01.txt WA 17 ms 3064 KB
01_rand_02.txt AC 16 ms 3064 KB
01_rand_03.txt WA 16 ms 3064 KB
01_rand_04.txt WA 16 ms 3064 KB
01_rand_05.txt AC 16 ms 3064 KB
01_rand_06.txt AC 16 ms 3064 KB
01_rand_07.txt WA 16 ms 3064 KB
01_rand_08.txt AC 17 ms 3064 KB
01_rand_09.txt AC 16 ms 3064 KB
01_rand_10.txt AC 16 ms 3064 KB
01_rand_11.txt AC 16 ms 3064 KB
01_rand_12.txt AC 16 ms 3064 KB
01_rand_13.txt AC 16 ms 3064 KB
01_rand_14.txt AC 16 ms 3064 KB
01_rand_15.txt AC 16 ms 3064 KB
01_rand_16.txt AC 17 ms 3064 KB
01_rand_17.txt AC 17 ms 3064 KB
01_rand_18.txt WA 16 ms 3064 KB
01_rand_19.txt WA 16 ms 3064 KB
01_rand_20.txt AC 17 ms 3064 KB
01_rand_21.txt WA 16 ms 3064 KB
01_rand_22.txt AC 17 ms 3064 KB
01_rand_23.txt AC 16 ms 3064 KB
01_rand_24.txt AC 16 ms 3064 KB
01_rand_25.txt AC 17 ms 3064 KB
01_rand_26.txt AC 17 ms 3064 KB
01_rand_27.txt AC 16 ms 3064 KB
01_rand_28.txt WA 17 ms 3064 KB
01_rand_29.txt AC 17 ms 3064 KB
99_min.txt AC 17 ms 3064 KB