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 22, 2026 21:04Victor MerckléVictor MerckléScore: 159,683Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 22, 2026 21:06159,3125,265,392,2405,164,952,00092,362,0002,117,632stderr
2Jun 22, 2026 21:06159,3775,267,393,8145,162,111,00097,341,0002,117,632stderr
3Jun 22, 2026 21:06159,3775,267,545,7675,163,477,00095,984,0002,117,632stderr
4Jun 22, 2026 21:06159,6635,276,619,1985,174,864,00094,044,0002,117,632stderr
5Jun 22, 2026 21:06159,6835,277,348,3395,174,520,00095,031,0002,117,632stderr
6Jun 22, 2026 21:06160,0605,289,744,6405,188,302,00093,701,0002,117,632stderr
7Jun 22, 2026 21:06160,4835,303,624,3135,201,777,00094,163,0002,117,632stderr
8Jun 22, 2026 21:06160,5985,307,389,4435,207,016,00092,731,0002,117,632stderr
9Jun 22, 2026 21:06160,6405,309,073,5145,207,051,00094,084,0002,117,632stderr