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 14, 2026 14:36limanjun99limanjun99Score: 25,744Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 14, 2026 14:3624,488835,945,880804,094,0004,000,0002,506,752
2Mar 14, 2026 14:3624,699848,219,500811,053,0004,000,0002,506,752
3Mar 14, 2026 14:3624,972852,398,286819,064,0005,000,0002,506,752
4Mar 14, 2026 14:3625,450866,858,230834,858,0004,999,0002,506,752
5Mar 14, 2026 14:3625,744875,678,608845,545,0003,997,0002,506,752
6Mar 14, 2026 14:3625,893881,990,747849,479,0004,996,0002,519,040
7Mar 14, 2026 14:3626,394895,317,011863,989,0006,999,0002,465,792
8Mar 14, 2026 14:3626,444895,092,815867,668,0004,998,0002,506,752
9Mar 14, 2026 14:3627,123923,796,313890,067,0005,000,0002,363,392