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 listAug 11, 2025 21:21Leon ZhaoLeon ZhaoScore: 24,034Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 11, 2025 21:2123,871814,383,125729,754,00057,980,0002,285,568
2Aug 11, 2025 21:2123,919828,699,174731,392,00057,951,0002,478,080
3Aug 11, 2025 21:2123,995820,206,619734,859,00056,989,0002,453,504
4Aug 11, 2025 21:2124,002824,815,676726,153,00065,923,0002,387,968
5Aug 11, 2025 21:2124,034825,219,322744,189,00048,946,0002,412,544
6Aug 11, 2025 21:2124,102822,895,110734,402,00060,950,0002,269,184
7Aug 11, 2025 21:2124,106818,800,073748,538,00046,971,0002,375,680
8Aug 11, 2025 21:2124,164821,135,052742,453,00054,959,0002,371,584
9Aug 11, 2025 21:2124,297831,893,362749,822,00051,987,0002,379,776