Runtime Error
Code
x=(input())
num=x
while(x>=2):
num=num+x//2
x=(x//2)+x%2
print(num)
Information
- Submit By
- Type
- Submission
- Problem
- P1176 Free chocolate
- Language
- Python 3 (Python 3.12.3)
- Submit At
- 2025-08-30 19:37:25
- Judged At
- 2025-08-30 19:37:25
- Judged By
- Score
- 0
- Total Time
- 14ms
- Peak Memory
- 3.098 MiB