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 listNov 2, 2026 06:12Md Nafis Ul Haque ShifatMd Nafis Ul Haque ShifatError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Nov 2, 2026 14:17Andrew Epstein10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 2, 2026 14:18020,014,159,51919,996,542,0005,184,00016,384Killed by timeout
2Nov 2, 2026 06:138,053276,539,469263,661,0002,093,0002,113,536
3Nov 2, 2026 06:138,084277,542,282264,711,0002,086,0002,113,536
4Nov 2, 2026 06:138,085277,705,501264,737,0002,095,0002,113,536
5Nov 2, 2026 06:138,087277,846,883264,793,0002,100,0002,113,536
6Nov 2, 2026 06:138,087277,607,808264,781,0002,101,0002,113,536
7Nov 2, 2026 06:138,135279,186,612266,385,0002,088,0002,113,536
8Nov 2, 2026 06:138,144279,560,211266,647,0002,112,0002,113,536
9Nov 2, 2026 06:138,149279,812,050266,861,0002,083,0002,113,536
10Nov 2, 2026 06:138,155281,176,034267,008,0002,110,0002,113,536