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 listJan 11, 2025 00:49Ian MckibbenIan MckibbenScore: 46,873Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 11, 2025 00:4946,4231,554,982,4351,498,996,00032,977,0002,514,944
2Jan 11, 2025 00:5146,4881,561,930,9361,498,128,00035,979,0002,412,544
3Jan 11, 2025 00:4946,5481,558,847,7961,507,092,00028,982,0002,404,352
4Jan 11, 2025 00:4946,5961,567,635,1401,503,700,00033,970,0002,404,352
5Jan 11, 2025 00:4946,7131,565,809,5021,513,534,00027,991,0002,506,752
6Jan 11, 2025 00:5146,7391,568,112,7201,504,418,00037,985,0002,506,752
7Jan 11, 2025 00:4946,8731,579,883,7881,518,838,00027,978,0002,416,640
8Jan 11, 2025 00:4947,0361,576,256,1991,519,205,00032,982,0002,453,504
9Jan 11, 2025 00:5147,2381,590,173,8871,521,884,00036,972,0002,265,088
10Jan 11, 2025 00:4947,6321,601,719,0031,540,884,00030,977,0002,330,624
11Jan 11, 2025 00:4947,8041,603,008,9831,544,543,00032,990,0002,510,848
12Jan 11, 2025 00:4948,1831,613,895,7671,560,066,00029,982,0002,412,544