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 18, 2025 22:15Aleksei ShahoikaAleksei ShahoikaError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Oct 15, 2026 20:33Andrew Epstein14.81CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 15, 2026 20:41020,022,059,39820,001,027,0009,893,00016,384Killed by timeout
2Oct 15, 2026 20:4147926,362,0867,350,0008,468,0002,113,536
3Oct 15, 2026 20:4150227,559,7467,339,0009,252,0002,113,536
4Nov 18, 2025 22:1536,5781,234,924,4441,193,079,00013,989,0002,465,792
5Nov 18, 2025 22:1536,6451,239,392,5671,197,279,00011,992,0002,277,376
6Nov 18, 2025 22:1536,6561,240,325,4461,196,652,00012,996,0002,277,376
7Nov 18, 2025 22:1536,6571,241,349,1091,195,696,00013,996,0002,457,600
8Nov 18, 2025 22:1536,6821,239,172,2551,197,510,00012,994,0002,351,104
9Nov 18, 2025 22:1536,7341,243,013,3371,204,243,0007,994,0002,457,600
10Nov 18, 2025 22:1536,8791,244,550,4771,207,015,0009,991,0002,277,376
11Nov 18, 2025 22:1536,9301,246,231,0441,205,711,00012,986,0002,461,696
12Nov 18, 2025 22:1537,0261,256,394,7601,211,875,0009,990,0002,277,376