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 30, 2026 01:44Andrew EpsteinAndrew EpsteinScore: 39,762Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 30, 2026 02:0139,4141,311,849,4881,294,397,0006,290,0002,121,728stderr
2Oct 30, 2026 02:0139,5921,317,543,5201,300,383,0006,182,0002,121,728stderr
3Oct 30, 2026 02:0139,6231,318,785,6781,301,339,0006,232,0002,121,728stderr
4Oct 30, 2026 02:0139,7131,321,606,3811,303,130,0007,399,0002,121,728stderr
5Oct 30, 2026 02:0139,7621,323,544,6051,305,689,0006,457,0002,121,728stderr
6Oct 30, 2026 02:0140,1011,334,262,3641,317,059,0006,278,0002,121,728stderr
7Oct 30, 2026 02:0140,2551,339,371,4101,322,110,0006,333,0002,121,728stderr
8Oct 30, 2026 02:0140,7641,356,606,9421,338,981,0006,248,0002,121,728stderr
9Oct 30, 2026 02:0140,7921,357,046,8561,339,848,0006,299,0002,121,728stderr