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 listMay 9, 2026 21:07Aleksei ShahoikaAleksei ShahoikaError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Oct 15, 2026 19:24Andrew Epstein10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 15, 2026 19:35020,003,664,27919,984,196,0008,186,00016,384Killed by timeout
2Oct 15, 2026 19:3532721,471,4565,093,0005,720,0002,113,536
3May 9, 2026 21:0814,556497,025,545473,511,0006,841,0002,334,720
4May 9, 2026 21:0814,559497,123,053473,617,0006,835,0002,322,432
5May 9, 2026 21:0814,591496,459,518474,766,0006,744,0002,326,528
6May 9, 2026 21:0814,599498,823,005475,017,0006,765,0002,310,144
7May 9, 2026 21:0814,620500,912,041475,486,0006,980,0002,334,720
8May 9, 2026 21:0814,662502,659,820476,934,0006,921,0002,322,432
9May 9, 2026 21:0814,668502,089,883477,088,0006,969,0002,326,528
10May 9, 2026 21:0814,673501,063,239477,429,0006,799,0002,326,528
11May 9, 2026 21:0814,722501,793,063479,080,0006,758,0002,330,624