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 9, 2026 18:21janwwwjanwwwError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Oct 15, 2026 21:15Andrew Epstein220.32CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 15, 2026 22:100102,282,43684,293,0007,535,0002,117,632expected "2104398 ", got "1858638 "
2Oct 15, 2026 22:105112,002,77701,703,0002,117,632
3Oct 15, 2026 22:105812,128,27001,925,0002,117,632
4Oct 9, 2026 18:224,378154,909,102143,363,0001,120,0002,113,536
5Oct 9, 2026 18:224,410155,991,563144,537,0001,014,0002,113,536
6Oct 9, 2026 18:224,421156,209,874144,893,0001,011,0002,113,536
7Oct 9, 2026 18:224,428156,478,747145,123,0001,016,0002,113,536
8Oct 9, 2026 18:224,439156,890,371145,479,0001,012,0002,113,536
9Oct 9, 2026 18:224,500158,939,204147,505,0001,014,0002,113,536
10Oct 9, 2026 18:224,520159,669,243148,175,0001,014,0002,113,536
11Oct 9, 2026 18:224,535160,053,847148,651,0001,006,0002,113,536
12Oct 9, 2026 18:224,575161,462,746149,964,0001,037,0002,113,536