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 10, 2026 14:01Andrew EpsteinAndrew EpsteinScore: 164,042Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 10, 2026 14:07161,0115,324,328,8055,291,177,00022,215,0002,117,632stderr
2Sep 10, 2026 14:07161,4605,339,680,4005,306,499,00021,688,0002,117,632stderr
3Sep 10, 2026 14:07161,6035,344,185,3465,312,001,00020,927,0002,117,632stderr
4Sep 10, 2026 14:07162,0275,357,331,4405,325,737,00021,166,0002,117,632stderr
5Sep 10, 2026 14:07164,0425,424,542,4255,391,325,00022,083,0002,117,632stderr
6Sep 10, 2026 14:07165,4145,468,972,5205,435,500,00023,169,0002,117,632stderr
7Sep 10, 2026 14:07165,4615,470,574,0665,438,266,00021,949,0002,117,632stderr
8Sep 10, 2026 14:07166,8005,514,770,7225,481,458,00022,949,0002,117,632stderr
9Sep 10, 2026 14:07166,8145,515,194,8165,482,115,00022,764,0002,117,632stderr