Unique strings Sergey Svistunov

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 listJan 11, 2025 00:18Ian MckibbenIan MckibbenScore: 78,365Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 11, 2025 00:1877,5462,585,926,0642,527,056,00031,975,0002,371,584
2Jan 11, 2025 00:1878,0352,602,422,1822,552,168,00022,983,0002,494,464
3Jan 11, 2025 00:1878,0732,600,959,3852,557,422,00018,988,0002,465,792
4Jan 11, 2025 00:1878,1682,604,308,7432,555,563,00023,986,0002,400,256
5Jan 11, 2025 00:1878,3652,615,075,6052,567,038,00018,992,0002,351,104
6Jan 11, 2025 00:1878,6692,625,708,1732,570,103,00025,990,0002,281,472
7Jan 11, 2025 00:1880,4782,678,035,8502,629,785,00025,988,0002,375,680
8Jan 11, 2025 00:1880,7532,692,985,4092,641,857,00022,990,0002,486,272
9Jan 11, 2025 00:1881,2162,704,532,7112,650,146,00029,979,0002,338,816