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 23, 2026 00:11Victor MerckléVictor MerckléScore: 158,040Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 23, 2026 00:13138,5364,579,784,5534,524,041,00047,660,0002,117,632stderr
2Jun 23, 2026 00:13153,9265,087,587,5485,033,815,00045,763,0002,117,632stderr
3Jun 23, 2026 00:13154,1575,095,210,2605,041,702,00045,503,0002,117,632stderr
4Jun 23, 2026 00:13157,5465,206,727,5665,153,256,00045,789,0002,117,632stderr
5Jun 23, 2026 00:13158,0405,223,100,3225,170,770,00044,564,0002,117,632stderr
6Jun 23, 2026 00:13160,7015,311,330,7785,257,405,00045,731,0002,117,632stderr
7Jun 23, 2026 00:13162,9105,384,092,6895,330,348,00045,711,0002,117,632stderr
8Jun 23, 2026 00:13174,9765,781,925,7715,728,456,00045,767,0002,117,632stderr
9Jun 23, 2026 00:13175,6455,803,991,4855,751,508,00044,802,0002,117,632stderr