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 listJun 20, 2026 20:10Victor MerckléVictor MerckléScore: 7,914Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 20, 2026 20:117,896268,041,484223,310,00037,272,0002,117,632stderr
2Jun 20, 2026 20:117,902268,293,990223,421,00037,368,0002,117,632stderr
3Jun 20, 2026 20:117,904268,443,470223,442,00037,410,0002,121,728stderr
4Jun 20, 2026 20:117,904268,406,386223,589,00037,253,0002,117,632stderr
5Jun 20, 2026 20:117,914268,675,236223,802,00037,371,0002,117,632stderr
6Jun 20, 2026 20:117,941269,574,958223,792,00038,281,0002,117,632stderr
7Jun 20, 2026 20:117,990271,228,113226,268,00037,417,0002,117,632stderr
8Jun 20, 2026 20:118,024272,336,352227,378,00037,439,0002,117,632stderr
9Jun 20, 2026 20:118,104274,950,377230,067,00037,391,0002,117,632stderr