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 19, 2026 16:59Victor MerckléVictor MerckléScore: 10,540Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 19, 2026 17:0010,524355,008,783309,988,00037,321,0002,113,536
2Jun 19, 2026 17:0010,531355,209,483309,334,00038,198,0002,113,536
3Jun 19, 2026 17:0010,533355,345,255309,270,00038,348,0002,113,536
4Jun 19, 2026 17:0010,534355,241,454309,285,00038,369,0002,113,536
5Jun 19, 2026 17:0010,540355,421,737309,745,00038,098,0002,113,536
6Jun 19, 2026 17:0010,556356,087,087310,037,00038,322,0002,113,536
7Jun 19, 2026 17:0010,600357,413,766311,576,00038,237,0002,113,536
8Jun 19, 2026 17:0010,602357,590,112311,389,00038,509,0002,113,536
9Jun 19, 2026 17:0010,604357,612,795312,436,00037,526,0002,113,536