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 listOct 29, 2026 22:17Andrew EpsteinAndrew EpsteinScore: 58,138Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 29, 2026 22:2057,9081,922,129,3281,896,323,00014,664,0002,121,728stderr
2Oct 29, 2026 22:2058,0531,926,988,5641,900,955,00014,815,0002,125,824stderr
3Oct 29, 2026 22:2058,1051,928,485,7221,903,927,00013,551,0002,125,824stderr
4Oct 29, 2026 22:2058,1181,929,245,1251,903,366,00014,530,0002,125,824stderr
5Oct 29, 2026 22:2058,1381,930,066,0381,903,811,00014,754,0002,121,728stderr
6Oct 29, 2026 22:2058,3011,934,932,4901,909,490,00014,446,0002,121,728stderr
7Oct 29, 2026 22:2058,3551,936,684,4081,911,342,00014,388,0002,121,728stderr
8Oct 29, 2026 22:2058,6431,946,165,0071,921,513,00013,722,0002,125,824stderr
9Oct 29, 2026 22:2058,7791,951,100,2921,925,124,00014,600,0002,125,824stderr