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 02:42Leon ZhaoLeon ZhaoScore: 491,125Success
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 02:42487,34216,121,320,78715,990,323,00091,950,0002,482,176
2Aug 11, 2025 02:42487,98516,145,603,20816,007,576,00095,937,0002,375,680
3Aug 11, 2025 02:42488,27216,154,159,44416,015,046,00097,939,0002,396,160
4Aug 11, 2025 02:42491,01816,242,431,24316,105,635,00097,943,0002,367,488
5Aug 11, 2025 02:42491,12516,241,432,17516,113,172,00093,948,0002,306,048
6Aug 11, 2025 02:42491,56816,258,208,11116,113,800,000107,938,0002,424,832
7Aug 11, 2025 02:42492,06016,276,064,82816,150,035,00087,945,0002,445,312
8Aug 11, 2025 02:42492,24716,279,742,75616,147,210,00096,941,0002,260,992
9Aug 11, 2025 02:42495,69416,395,091,56316,254,971,000102,936,0002,334,720