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:02Andrew EpsteinAndrew EpsteinScore: 32,474Success
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:0732,2391,075,215,0031,056,688,0007,214,0002,121,728stderr
2Oct 30, 2026 03:0732,4041,080,327,1941,061,959,0007,397,0002,121,728stderr
3Oct 30, 2026 03:0732,4141,081,171,8321,062,472,0007,208,0002,121,728stderr
4Oct 30, 2026 03:0732,4251,080,927,6891,062,641,0007,397,0002,121,728stderr
5Oct 30, 2026 03:0732,4741,082,536,2311,064,275,0007,382,0002,121,728stderr
6Oct 30, 2026 03:0732,7201,091,176,0951,072,607,0007,179,0002,121,728stderr
7Oct 30, 2026 03:0732,7541,091,825,9231,073,608,0007,294,0002,121,728stderr
8Oct 30, 2026 03:0732,8851,096,598,4971,078,059,0007,156,0002,121,728stderr
9Oct 30, 2026 03:0732,9901,099,588,5911,081,363,0007,336,0002,121,728stderr