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 11:58Victor MerckléVictor MerckléScore: 59,134Success
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 11:5957,5671,907,559,7511,860,383,00039,351,0002,117,632stderr
2Jun 27, 2026 11:5957,8021,915,464,4111,868,248,00039,241,0002,117,632stderr
3Jun 27, 2026 11:5958,8431,950,058,2511,903,462,00038,359,0002,117,632stderr
4Jun 27, 2026 11:5959,0671,956,987,0131,908,857,00040,378,0002,117,632stderr
5Jun 27, 2026 11:5959,1341,959,412,2451,912,196,00039,240,0002,117,632stderr
6Jun 27, 2026 11:5960,0801,990,475,4751,943,270,00039,400,0002,117,632stderr
7Jun 27, 2026 11:5960,1161,992,039,1541,944,331,00039,504,0002,117,632stderr
8Jun 27, 2026 11:5964,9082,149,747,4542,103,453,00038,519,0002,117,632stderr
9Jun 27, 2026 11:5969,6262,305,709,9292,258,450,00039,215,0002,117,632stderr