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 17:19Andrew EpsteinAndrew EpsteinScore: 506,108Success
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 17:22502,90016,607,042,85916,466,848,000128,879,0002,125,824stderr
2Sep 18, 2026 17:22504,86716,671,881,30416,528,821,000131,792,0002,125,824stderr
3Sep 18, 2026 17:22504,93016,674,347,15516,532,775,000129,934,0002,121,728stderr
4Sep 18, 2026 17:22505,72816,699,888,00716,560,089,000128,938,0002,121,728stderr
5Sep 18, 2026 17:22506,10816,712,305,91516,571,880,000129,691,0002,125,824stderr
6Sep 18, 2026 17:22508,09116,781,285,97516,637,697,000129,331,0002,125,824stderr
7Sep 18, 2026 17:22508,17616,785,138,42116,637,953,000131,868,0002,125,824stderr
8Sep 18, 2026 17:22510,63216,862,326,15916,720,004,000130,875,0002,125,824stderr
9Sep 18, 2026 17:22526,52117,386,026,07917,244,215,000130,991,0002,125,824stderr