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 listMar 21, 2026 20:05olliecrowolliecrowError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Oct 15, 2026 19:32Andrew Epstein10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 15, 2026 19:410178,692,773156,954,0008,761,0002,138,112expected "2104777 ", got "2072154 "stderr
2Oct 15, 2026 19:410202,953,675170,343,0009,375,00040,960No answer to stdout. Died or killed?stderr
3Mar 21, 2026 20:0512,897454,144,258417,615,0007,992,0002,342,912
4Mar 21, 2026 20:0512,908455,220,381418,978,0006,982,0002,502,656
5Mar 21, 2026 20:0512,922451,011,853415,448,00010,985,0002,445,312
6Mar 21, 2026 20:0512,942453,230,261416,122,00010,976,0002,400,256
7Mar 21, 2026 20:0513,045461,799,989418,514,00011,986,0002,293,760
8Mar 21, 2026 20:0513,110464,711,392421,639,00010,990,0002,293,760
9Mar 21, 2026 20:0513,177466,869,038422,861,00011,996,0002,514,944
10Mar 21, 2026 20:0513,184462,134,282424,068,00011,001,0002,523,136
11Mar 21, 2026 20:0513,240465,667,353427,921,0008,998,0002,449,408