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 03:09Andrew EpsteinAndrew EpsteinScore: 2,986Success
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 03:132,956106,962,90296,535,0001,027,0002,117,632
2Oct 30, 2026 03:132,962107,174,29696,487,0001,281,0002,117,632
3Oct 30, 2026 03:132,980107,664,38097,074,0001,274,0002,117,632
4Oct 30, 2026 03:132,981107,810,55097,377,0001,009,0002,117,632
5Oct 30, 2026 03:132,986107,998,27897,546,0001,007,0002,117,632
6Oct 30, 2026 03:132,988108,069,19797,598,0001,010,0002,117,632
7Oct 30, 2026 03:132,988107,961,28097,313,0001,292,0002,117,632
8Oct 30, 2026 03:133,061111,187,12599,991,0001,033,0002,117,632
9Oct 30, 2026 03:133,093111,413,461100,812,0001,283,0002,117,632