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 27, 2026 10:33Victor MerckléVictor MerckléScore: 82,167Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 27, 2026 10:3480,8682,676,740,1792,628,600,00040,051,0002,117,632stderr
2Jun 27, 2026 10:3481,0402,682,266,6622,633,263,00041,074,0002,117,632stderr
3Jun 27, 2026 10:3482,0072,713,979,6552,666,093,00040,157,0002,117,632stderr
4Jun 27, 2026 10:3482,0322,716,580,7312,666,895,00040,188,0002,117,632stderr
5Jun 27, 2026 10:3482,1672,719,674,0602,671,267,00040,264,0002,117,632stderr
6Jun 27, 2026 10:3483,5042,763,651,9642,714,484,00041,163,0002,117,632stderr
7Jun 27, 2026 10:3484,1692,785,223,6072,737,434,00040,152,0002,117,632stderr
8Jun 27, 2026 10:3485,6412,834,299,5082,786,129,00040,034,0002,117,632stderr
9Jun 27, 2026 10:3486,7782,871,571,5062,823,525,00040,171,0002,117,632stderr