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 27, 2026 17:43Victor MerckléVictor MerckléScore: 9,405Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 27, 2026 17:449,346316,503,910307,301,0001,124,0002,117,632stderr
2Jun 27, 2026 17:449,355316,910,818307,546,0001,187,0002,117,632stderr
3Jun 27, 2026 17:449,378317,267,665308,336,0001,161,0002,117,632stderr
4Jun 27, 2026 17:449,399317,967,279308,986,0001,184,0002,117,632stderr
5Jun 27, 2026 17:449,405318,358,950309,279,0001,111,0002,117,632stderr
6Jun 27, 2026 17:449,432320,431,763310,099,0001,179,0002,117,632stderr
7Jun 27, 2026 17:449,456319,900,755310,866,0001,192,0002,117,632stderr
8Jun 27, 2026 17:449,461319,964,522311,032,0001,185,0002,117,632stderr
9Jun 27, 2026 17:449,467320,299,600311,248,0001,193,0002,117,632stderr