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 listApr 27, 2026 14:21limanjun99limanjun99Error
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Oct 15, 2026 21:02Andrew Epstein17.43CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 15, 2026 21:18020,002,192,95619,976,167,00013,719,00016,384Killed by timeout
2Apr 27, 2026 14:225,993217,030,940182,793,00014,983,0002,342,912
3Apr 27, 2026 14:226,014216,444,638184,436,00014,033,0002,334,720
4Apr 27, 2026 14:226,030214,683,678182,995,00015,999,0002,326,528
5Apr 27, 2026 14:226,036222,025,029185,176,00014,013,0002,523,136
6Apr 27, 2026 14:226,041219,282,110185,338,00014,025,0002,347,008
7Apr 27, 2026 14:226,043219,078,148184,417,00015,034,0002,523,136
8Apr 27, 2026 14:226,049220,782,255184,667,00014,973,0002,347,008
9Apr 27, 2026 14:226,070216,319,017184,287,00016,025,0002,527,232
10Apr 27, 2026 14:226,099224,230,247187,274,00014,020,0002,347,008