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 13:41Victor MerckléVictor MerckléScore: 23,684Success
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 13:4223,423780,765,726725,410,00047,560,0002,113,536
2Jun 20, 2026 13:4223,447782,861,369725,578,00048,191,0002,113,536
3Jun 20, 2026 13:4223,468782,565,570726,579,00047,879,0002,113,536
4Jun 20, 2026 13:4223,678789,231,688733,312,00048,070,0002,113,536
5Jun 20, 2026 13:4223,684789,066,497733,763,00047,818,0002,113,536
6Jun 20, 2026 13:4223,692790,647,105733,899,00047,949,0002,113,536
7Jun 20, 2026 13:4223,977798,734,610743,027,00048,217,0002,113,536
8Jun 20, 2026 13:4224,005799,819,115743,865,00048,300,0002,113,536
9Jun 20, 2026 13:4224,031801,161,242744,367,00048,684,0002,113,536