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 22, 2026 00:35olliecrowolliecrowError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Oct 15, 2026 20:55Andrew Epstein49.12CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 15, 2026 21:120263,328,931242,611,00011,846,0002,113,536expected "2102226 ", got "2052270 "
2Oct 15, 2026 21:120312,472,086290,066,00013,677,00024,576No answer to stdout. Died or killed?stderr
3Mar 22, 2026 00:3511,427402,945,925360,081,00017,003,0002,412,544
4Mar 22, 2026 00:3511,483403,841,875364,953,00013,998,0002,420,736
5Mar 22, 2026 00:3511,494405,544,689363,297,00016,013,0002,416,640