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 listJun 26, 2026 16:11Victor MerckléVictor MerckléScore: 281,702Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 26, 2026 16:14280,3159,260,413,6889,207,239,00043,173,0002,121,728stderr
2Jun 26, 2026 16:14280,7819,276,255,1779,219,072,00046,707,0002,121,728stderr
3Jun 26, 2026 16:14280,8119,276,726,1169,223,467,00043,315,0002,121,728stderr
4Jun 26, 2026 16:14281,2409,290,493,0719,238,979,00041,951,0002,121,728stderr
5Jun 26, 2026 16:14281,7029,305,707,4509,253,879,00042,318,0002,121,728stderr
6Jun 26, 2026 16:14281,9479,313,913,7469,262,810,00041,444,0002,121,728stderr
7Jun 26, 2026 16:14282,5509,333,743,4089,281,038,00043,131,0002,121,728stderr
8Jun 26, 2026 16:14282,8469,343,785,1169,292,257,00041,661,0002,121,728stderr
9Jun 26, 2026 16:14282,8629,343,967,6109,292,304,00042,154,0002,121,728stderr