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 listOct 17, 2024 12:00Sybrand AarnoutseSybrand AarnoutseScore: 179,086Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 17, 2024 12:00176,7245,865,578,5385,804,912,00026,985,0002,289,664
2Oct 17, 2024 12:00179,0865,945,432,5955,882,844,00026,985,0002,437,120
3Oct 17, 2024 12:00180,3805,987,556,7815,924,551,00027,983,0002,289,664