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 listApr 22, 2026 00:05olliecrowolliecrowScore: 21,174Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 22, 2026 00:0621,080715,143,733672,659,00022,988,0002,560,000
2Apr 22, 2026 00:0621,145713,709,724674,797,00022,993,0002,351,104
3Apr 22, 2026 00:0621,155715,275,091676,139,00022,004,0002,478,080
4Apr 22, 2026 00:0621,164714,593,134675,434,00022,980,0002,572,288
5Apr 22, 2026 00:0621,174716,735,011675,752,00022,991,0002,564,096
6Apr 22, 2026 00:0621,189717,977,809675,277,00023,974,0002,310,144
7Apr 22, 2026 00:0621,195714,885,688676,465,00022,981,0002,310,144
8Apr 22, 2026 00:0621,206718,769,179678,826,00020,994,0002,310,144
9Apr 22, 2026 00:0621,263721,318,664678,721,00022,990,0002,310,144