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 listSep 18, 2026 19:28Andrew EpsteinAndrew EpsteinScore: 71,555Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 18, 2026 19:3071,3962,367,358,1692,349,958,0006,123,0002,121,728stderr
2Sep 18, 2026 19:3071,4132,367,268,8712,350,424,0006,231,0002,117,632stderr
3Sep 18, 2026 19:3071,5102,370,328,4482,353,389,0006,467,0002,121,728stderr
4Sep 18, 2026 19:3071,5342,371,191,7932,354,210,0006,439,0002,117,632stderr
5Sep 18, 2026 19:3071,5552,372,572,5322,354,923,0006,400,0002,121,728stderr
6Sep 18, 2026 19:3071,6582,386,369,2362,357,430,0007,299,0002,117,632stderr
7Sep 18, 2026 19:3071,8242,381,038,0802,363,859,0006,359,0002,121,728stderr
8Sep 18, 2026 19:3071,8312,381,618,5252,364,209,0006,220,0002,117,632stderr
9Sep 18, 2026 19:3071,8392,381,998,7112,364,554,0006,156,0002,121,728stderr