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 listApr 27, 2026 21:29Victor MerckléVictor MerckléScore: 22,609Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 27, 2026 21:3022,434758,394,419726,356,00013,987,0002,428,928
2Apr 27, 2026 21:3022,446761,336,271723,736,00016,993,0002,441,216
3Apr 27, 2026 21:3022,480756,086,569725,866,00015,997,0002,441,216
4Apr 27, 2026 21:3022,506757,254,942728,728,00013,994,0002,433,024
5Apr 27, 2026 21:3022,609763,009,041729,108,00017,002,0002,433,024
6Apr 27, 2026 21:3022,621764,391,051730,520,00015,989,0002,424,832
7Apr 27, 2026 21:3022,643767,700,510732,236,00014,984,0002,318,336
8Apr 27, 2026 21:3022,685767,462,795728,635,00019,989,0002,318,336
9Apr 27, 2026 21:3022,919775,340,321740,352,00015,986,0002,428,928