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 listNov 24, 2025 13:07Jeffrey JianJeffrey JianScore: 316,717Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 24, 2025 13:07315,22510,435,944,49210,302,498,00099,936,0002,306,048
2Nov 24, 2025 13:07315,28510,439,969,52810,299,468,000104,933,0002,260,992
3Nov 24, 2025 13:07315,72610,460,004,13410,316,020,000102,940,0002,338,816
4Nov 24, 2025 13:07316,67310,488,473,60210,362,260,00087,942,0002,465,792
5Nov 24, 2025 13:07316,71710,484,850,54810,337,721,000113,930,0002,375,680
6Nov 24, 2025 13:07318,32010,537,981,04510,401,631,000102,936,0002,473,984
7Nov 24, 2025 13:07321,54910,640,427,82710,503,162,000107,940,0002,297,856
8Nov 24, 2025 13:07321,80810,653,646,55710,500,761,000118,918,0002,416,640
9Nov 24, 2025 13:07322,77410,684,740,08410,532,623,000118,916,0002,347,008