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 9, 2026 22:13Victor MerckléVictor MerckléScore: 8,039Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 9, 2026 22:148,030272,560,610227,610,00037,409,0002,113,536
2Jun 9, 2026 22:148,032272,605,872227,596,00037,468,0002,113,536
3Jun 9, 2026 22:148,035272,699,471227,698,00037,466,0002,113,536
4Jun 9, 2026 22:148,036272,879,717227,736,00037,475,0002,113,536
5Jun 9, 2026 22:148,039272,908,474227,831,00037,466,0002,113,536
6Jun 9, 2026 22:148,049273,201,319227,503,00038,131,0002,113,536
7Jun 9, 2026 22:148,050273,323,124227,581,00038,093,0002,113,536
8Jun 9, 2026 22:148,060273,648,135227,709,00038,271,0002,113,536
9Jun 9, 2026 22:148,062273,646,812227,821,00038,242,0002,113,536