Submission #37494931


Source Code Expand

S = int(input())
ans = 0
while S:
  if S % 100 == 0:
    S //= 100
  else:
    S //= 10
  ans += 1
print(ans)

Submission Info

Submission Time
Task C - Cash Register
User arakaki_tokyo
Language PyPy3 (7.3.0)
Score 0
Code Size 117 Byte
Status TLE
Exec Time 2207 ms
Memory 68428 KiB

Judge Result

Set Name Sample All
Score / Max Score 0 / 0 0 / 300
Status
AC × 3
AC × 7
TLE × 8
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_random_03.txt, 01_random_04.txt, 01_random_05.txt, 01_random_06.txt, 01_random_07.txt, 01_random_08.txt, 01_random_09.txt, 01_random_10.txt, 01_random_11.txt, 01_random_12.txt, 01_random_13.txt, 01_random_14.txt
Case Name Status Exec Time Memory
00_sample_00.txt AC 62 ms 61464 KiB
00_sample_01.txt AC 52 ms 61464 KiB
00_sample_02.txt AC 50 ms 61652 KiB
01_random_03.txt TLE 2207 ms 68428 KiB
01_random_04.txt TLE 2207 ms 68236 KiB
01_random_05.txt TLE 2207 ms 68328 KiB
01_random_06.txt TLE 2207 ms 68320 KiB
01_random_07.txt TLE 2207 ms 68064 KiB
01_random_08.txt TLE 2006 ms 67724 KiB
01_random_09.txt AC 243 ms 67476 KiB
01_random_10.txt AC 825 ms 67664 KiB
01_random_11.txt TLE 2207 ms 68068 KiB
01_random_12.txt AC 1585 ms 67348 KiB
01_random_13.txt AC 62 ms 61708 KiB
01_random_14.txt TLE 2207 ms 68236 KiB