Submission #33468127


Source Code Expand

from bisect import bisect_left as bisect

N, *S = open(0)
St = {}
for s in S:
  s = s[:-1]
  try:
    St[s] += 1
    print(f'{s}({St[s]})')
  except Exception:
    St[s] = 0
    print(s)

Submission Info

Submission Time
Task C - NewFolder(1)
User arakaki_tokyo
Language PyPy3 (7.3.0)
Score 300
Code Size 199 Byte
Status AC
Exec Time 244 ms
Memory 144884 KiB

Judge Result

Set Name Sample All
Score / Max Score 0 / 0 300 / 300
Status
AC × 2
AC × 16
Set Name Test Cases
Sample sample_01.txt, sample_02.txt
All hand_01.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, sample_01.txt, sample_02.txt
Case Name Status Exec Time Memory
hand_01.txt AC 61 ms 61848 KiB
random_01.txt AC 242 ms 144884 KiB
random_02.txt AC 244 ms 144828 KiB
random_03.txt AC 182 ms 97528 KiB
random_04.txt AC 182 ms 97684 KiB
random_05.txt AC 187 ms 97664 KiB
random_06.txt AC 184 ms 97628 KiB
random_07.txt AC 99 ms 80944 KiB
random_08.txt AC 153 ms 90000 KiB
random_09.txt AC 119 ms 86864 KiB
random_10.txt AC 61 ms 68776 KiB
random_11.txt AC 110 ms 84624 KiB
random_12.txt AC 154 ms 89584 KiB
random_13.txt AC 78 ms 76596 KiB
sample_01.txt AC 47 ms 62012 KiB
sample_02.txt AC 46 ms 62008 KiB