提出 #66080096


ソースコード 拡げる

A,B = list(map(int, input().split()))

div = A / B
ans1 = int(div)
ans2 = ans1 + 1

if div - ans1 >= 0.5:
    print(ans2)
else:
    print(ans1)

提出情報

提出日時
問題 A - Approximation
ユーザ tamagonist
言語 Python (PyPy 3.10-v7.3.12)
得点 150
コード長 152 Byte
結果 AC
実行時間 57 ms
メモリ 76692 KiB

ジャッジ結果

セット名 Sample All
得点 / 配点 0 / 0 150 / 150
結果
AC × 3
AC × 13
セット名 テストケース
Sample 00_sample_00.txt, 00_sample_01.txt, 00_sample_02.txt
All 00_sample_00.txt, 00_sample_01.txt, 00_sample_02.txt, 01_handmade_03.txt, 01_handmade_04.txt, 01_handmade_05.txt, 01_handmade_06.txt, 02_random_07.txt, 02_random_08.txt, 02_random_09.txt, 02_random_10.txt, 02_random_11.txt, 02_random_12.txt
ケース名 結果 実行時間 メモリ
00_sample_00.txt AC 57 ms 76080 KiB
00_sample_01.txt AC 57 ms 76236 KiB
00_sample_02.txt AC 57 ms 76648 KiB
01_handmade_03.txt AC 57 ms 76280 KiB
01_handmade_04.txt AC 57 ms 76248 KiB
01_handmade_05.txt AC 57 ms 76564 KiB
01_handmade_06.txt AC 56 ms 76280 KiB
02_random_07.txt AC 56 ms 76196 KiB
02_random_08.txt AC 57 ms 76112 KiB
02_random_09.txt AC 57 ms 76692 KiB
02_random_10.txt AC 57 ms 76252 KiB
02_random_11.txt AC 57 ms 76156 KiB
02_random_12.txt AC 57 ms 76112 KiB