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 listOct 17, 2026 21:27e1011e1011Error
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Oct 25, 2026 16:26Andrew Epstein21.62CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 25, 2026 16:27020,007,550,46019,982,042,00012,858,00016,384Killed by timeout
2Oct 25, 2026 16:2792341,429,33924,678,0005,806,0002,113,536
3Oct 17, 2026 21:2826,771894,753,809870,353,00013,106,0002,113,536
4Oct 17, 2026 21:2826,802896,042,296871,331,00013,141,0002,113,536
5Oct 17, 2026 21:2826,872898,300,697873,679,00013,101,0002,113,536
6Oct 17, 2026 21:2826,886898,757,213874,001,00013,262,0002,113,536
7Oct 17, 2026 21:2826,981901,929,851877,193,00013,188,0002,113,536
8Oct 17, 2026 21:2827,001902,280,333877,753,00013,304,0002,113,536
9Oct 17, 2026 21:2827,708925,876,492900,859,00013,532,0002,113,536
10Oct 17, 2026 21:2827,771927,518,445902,834,00013,612,0002,113,536
11Oct 17, 2026 21:2827,790928,161,416903,539,00013,542,0002,113,536