Submission #66086437
Source Code Expand
#ABC407_20250524_A
A,B=map(int,input().split())
X1=A//B
X2=A//B+1
if(A/B-X1<X2-A/B):
print(X1)
else:
print(X2)
Submission Info
| Submission Time | |
|---|---|
| Task | A - Approximation |
| User | Konini |
| Language | Python (PyPy 3.10-v7.3.12) |
| Score | 150 |
| Code Size | 129 Byte |
| Status | AC |
| Exec Time | 56 ms |
| Memory | 76644 KiB |
Judge Result
| Set Name | Sample | All | ||||
|---|---|---|---|---|---|---|
| Score / Max Score | 0 / 0 | 150 / 150 | ||||
| Status |
|
|
| Set Name | Test Cases |
|---|---|
| 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 |
| Case Name | Status | Exec Time | Memory |
|---|---|---|---|
| 00_sample_00.txt | AC | 55 ms | 76220 KiB |
| 00_sample_01.txt | AC | 54 ms | 76612 KiB |
| 00_sample_02.txt | AC | 56 ms | 76588 KiB |
| 01_handmade_03.txt | AC | 55 ms | 76300 KiB |
| 01_handmade_04.txt | AC | 54 ms | 76328 KiB |
| 01_handmade_05.txt | AC | 55 ms | 76424 KiB |
| 01_handmade_06.txt | AC | 54 ms | 76340 KiB |
| 02_random_07.txt | AC | 55 ms | 76644 KiB |
| 02_random_08.txt | AC | 55 ms | 76268 KiB |
| 02_random_09.txt | AC | 55 ms | 76432 KiB |
| 02_random_10.txt | AC | 55 ms | 76596 KiB |
| 02_random_11.txt | AC | 54 ms | 76608 KiB |
| 02_random_12.txt | AC | 55 ms | 76368 KiB |