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 31, 2026 00:17Andrew EpsteinAndrew EpsteinScore: 2,727Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 31, 2026 00:182,70698,688,70888,044,0001,281,0002,117,632
2Oct 31, 2026 00:182,71599,054,18788,609,0001,007,0002,117,632
3Oct 31, 2026 00:182,722101,816,15088,508,0001,322,0002,117,632
4Oct 31, 2026 00:182,72499,339,82988,880,0001,030,0002,117,632
5Oct 31, 2026 00:182,727100,187,50188,716,0001,284,0002,117,632
6Oct 31, 2026 00:182,73999,783,87089,123,0001,281,0002,117,632
7Oct 31, 2026 00:182,74499,921,18189,534,0001,023,0002,117,632
8Oct 31, 2026 00:182,74699,979,17089,617,0001,010,0002,117,632
9Oct 31, 2026 00:182,762100,543,77689,900,0001,278,0002,117,632