Submission #21557664


Source Code Expand

A,B,W = map(int, input().split())
MI = -(-W*1000//B)
MA = W*1000//A
if MI>MA:
    print('UNSATISFIABLE')
else:
    print(MI,MA)

Submission Info

Submission Time
Task B - Many Oranges
User H20
Language PyPy3 (7.3.0)
Score 200
Code Size 133 Byte
Status AC
Exec Time 74 ms
Memory 61764 KiB

Judge Result

Set Name Sample All
Score / Max Score 0 / 0 200 / 200
Status
AC × 3
AC × 26
Set Name Test Cases
Sample sample_01.txt, sample_02.txt, sample_03.txt
All hand_01.txt, hand_02.txt, hand_03.txt, hand_04.txt, hand_05.txt, hand_06.txt, hand_07.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, sample_01.txt, sample_02.txt, sample_03.txt
Case Name Status Exec Time Memory
hand_01.txt AC 74 ms 61760 KiB
hand_02.txt AC 53 ms 61712 KiB
hand_03.txt AC 54 ms 61728 KiB
hand_04.txt AC 51 ms 61448 KiB
hand_05.txt AC 58 ms 61588 KiB
hand_06.txt AC 55 ms 61692 KiB
hand_07.txt AC 52 ms 61732 KiB
random_01.txt AC 51 ms 61524 KiB
random_02.txt AC 57 ms 61720 KiB
random_03.txt AC 55 ms 61740 KiB
random_04.txt AC 53 ms 61728 KiB
random_05.txt AC 56 ms 61644 KiB
random_06.txt AC 51 ms 61452 KiB
random_07.txt AC 56 ms 61556 KiB
random_08.txt AC 58 ms 61616 KiB
random_09.txt AC 59 ms 61656 KiB
random_10.txt AC 55 ms 61736 KiB
random_11.txt AC 54 ms 61460 KiB
random_12.txt AC 53 ms 61764 KiB
random_13.txt AC 55 ms 61564 KiB
random_14.txt AC 53 ms 61740 KiB
random_15.txt AC 55 ms 61744 KiB
random_16.txt AC 53 ms 61620 KiB
sample_01.txt AC 52 ms 61548 KiB
sample_02.txt AC 47 ms 61464 KiB
sample_03.txt AC 54 ms 61460 KiB