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 listMay 1, 2026 10:05Victor MerckléVictor MerckléScore: 217,873Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 1, 2026 10:07217,1367,189,935,2867,132,509,00032,983,0002,375,680stderr
2May 1, 2026 10:07217,2227,190,953,6897,130,370,00037,980,0002,330,624stderr
3May 1, 2026 10:07217,2677,197,303,9537,133,863,00035,979,0002,326,528stderr
4May 1, 2026 10:07217,4377,201,295,9047,138,467,00036,976,0002,408,448stderr
5May 1, 2026 10:07217,8737,213,606,7557,152,841,00036,978,0002,334,720stderr
6May 1, 2026 10:07218,1077,220,964,2487,162,569,00034,978,0002,330,624stderr
7May 1, 2026 10:07218,3867,230,368,0147,169,782,00036,978,0002,404,352stderr
8May 1, 2026 10:07218,4137,226,728,0837,177,682,00029,977,0002,334,720stderr
9May 1, 2026 10:07218,5977,237,480,3467,178,737,00034,979,0002,400,256stderr