Unique strings v2 Sergey Svistunov

Same problem as Unique strings, but with 3 CPUs available and scoring based on wall time instead of CPU time.

Count the exact number of unique tokens as fast as possible.

Input

One token per line on STDIN:

JWXcKKaWzvFL5
Rof
3ztCpA
5wHcGN
*UiEMthaTS*g

Output

Print the exact count of unique tokens to STDOUT.

Constraints

  • Character set: 0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ@#%*
  • Maximum token length: 16
  • Approximately 1,000,000 unique tokens
Back to listMay 3, 2026 20:44TudyMTudyMScore: 239,013Success
Source Code

Source code access is restricted. Log in to request access.

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 3, 2026 20:48181,1205,433,603,2411,811,515,0001,492,520,0002,473,984
2May 3, 2026 20:48202,9836,089,498,5251,833,366,0001,504,880,0002,519,040
3May 3, 2026 20:48221,0626,631,879,8661,815,756,0001,649,042,0002,457,600
4May 3, 2026 20:48228,7776,863,320,4741,805,907,0001,517,329,0002,752,512
5May 3, 2026 20:48239,0137,170,398,3591,786,774,0001,596,352,0002,494,464
6May 3, 2026 20:48241,4227,242,683,8401,815,161,0001,500,032,0002,707,456
7May 3, 2026 20:48243,5887,307,657,3041,835,676,0001,506,605,0002,453,504
8May 3, 2026 20:48250,6117,518,344,8361,819,419,0001,536,678,0002,723,840
9May 3, 2026 20:48260,8877,826,619,0151,840,662,0001,670,285,0002,711,552