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 listApr 26, 2026 06:00limanjun99limanjun99Error
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Oct 15, 2026 21:01Andrew Epstein23.47CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 15, 2026 21:13020,023,442,39219,998,719,00013,821,00016,384Killed by timeout
2Apr 26, 2026 06:0110,337359,134,108262,105,00079,031,0002,519,040
3Apr 26, 2026 06:0110,351361,469,044252,713,00088,899,0002,539,520
4Apr 26, 2026 06:0110,352359,788,083269,707,00071,922,0002,539,520
5Apr 26, 2026 06:0110,367361,494,102259,097,00083,031,0002,531,328
6Apr 26, 2026 06:0110,381356,333,307270,685,00071,916,0002,527,232
7Apr 26, 2026 06:0110,387367,151,204265,837,00076,953,0002,539,520
8Apr 26, 2026 06:0110,388360,369,689268,860,00073,961,0002,367,488
9Apr 26, 2026 06:0110,398365,372,782270,130,00073,035,0002,408,448
10Apr 26, 2026 06:0110,436364,344,517270,329,00074,090,0002,535,424