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 listDec 3, 2025 23:53Yehor BondarYehor BondarScore: 492,170Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 3, 2025 23:53487,87816,132,562,98515,999,029,000100,943,0002,289,664
2Dec 3, 2025 23:53488,11216,150,725,69916,016,746,00090,941,0002,465,792
3Dec 3, 2025 23:53488,87116,168,611,47416,034,808,00097,937,0002,473,984
4Dec 3, 2025 23:53489,07216,176,518,00216,048,439,00090,951,0002,375,680
5Dec 3, 2025 23:53492,17016,282,962,93716,161,653,00079,948,0002,457,600
6Dec 3, 2025 23:53493,20916,317,765,75016,176,973,00098,938,0002,469,888
7Dec 3, 2025 23:53493,72816,332,102,09516,203,083,00089,950,0002,306,048
8Dec 3, 2025 23:53493,83516,334,819,15616,189,623,000106,931,0002,367,488
9Dec 3, 2025 23:53496,11916,409,269,81916,275,989,00095,952,0002,293,760