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 16:21Victor MerckléVictor MerckléScore: 174,115Success
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 16:22173,5835,750,711,3815,705,274,00022,984,0002,330,624stderr
2Apr 27, 2026 16:22173,6855,754,069,5085,713,646,00017,989,0002,326,528stderr
3Apr 27, 2026 16:22173,7515,753,853,8845,711,827,00021,987,0002,342,912stderr
4Apr 27, 2026 16:22173,7625,754,867,7105,713,182,00020,985,0002,551,808stderr
5Apr 27, 2026 16:22174,1155,765,914,8975,724,817,00020,988,0002,330,624stderr
6Apr 27, 2026 16:22174,2285,772,450,0495,726,545,00022,982,0002,535,424stderr
7Apr 27, 2026 16:22174,2725,773,178,8355,728,999,00021,984,0002,330,624stderr
8Apr 27, 2026 16:22174,5215,779,856,2135,740,216,00018,987,0002,494,464stderr
9Apr 27, 2026 16:22175,0465,799,123,5975,758,545,00017,986,0002,330,624stderr