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 16, 2026 18:11olliecrowolliecrowScore: 14,086Success
Source Code

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

Challenge History
DateChallengerCostTypeStatus
May 17, 2026 12:20Brandon Tang10.00RecheckSolution Held
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 17, 2026 12:2013,942469,549,192455,007,0005,092,0002,117,632
2May 16, 2026 18:1213,965469,729,810455,587,0005,276,0002,117,632
3May 17, 2026 12:2013,967471,253,688455,860,0005,072,0002,117,632
4May 16, 2026 18:1213,995471,557,472457,063,0004,800,0002,117,632
5May 16, 2026 18:1214,015475,038,998457,721,0004,781,0002,121,728
6May 17, 2026 12:2014,021473,616,282457,606,0005,091,0002,117,632
7May 16, 2026 18:1214,086478,055,331456,750,0008,105,0002,117,632
8May 16, 2026 18:1214,088483,689,637459,929,0004,994,0002,121,728
9May 16, 2026 18:1214,108476,642,176460,520,0005,051,0002,117,632
10May 16, 2026 18:1214,148509,559,448461,903,0005,012,0002,117,632
11May 16, 2026 18:1214,207520,286,240463,902,0004,954,0002,121,728
12May 16, 2026 18:1214,401527,082,854467,616,0007,619,0002,121,728