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 listFeb 26, 2025 17:01AdityaAdityaScore: 164,981Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 26, 2025 17:01161,1865,353,647,1275,289,173,00029,972,0002,465,792
2Feb 26, 2025 17:01161,6735,369,154,5545,309,228,00025,981,0002,383,872
3Feb 26, 2025 17:01162,2185,383,236,1465,325,221,00027,980,0002,396,160
4Feb 26, 2025 17:01163,2985,422,152,4565,355,854,00032,980,0002,424,832
5Feb 26, 2025 17:01164,9815,475,754,5235,414,404,00029,980,0002,310,144
6Feb 26, 2025 17:01165,1205,489,284,7205,422,974,00025,975,0002,416,640
7Feb 26, 2025 17:01165,4905,498,301,5205,433,193,00027,980,0002,363,392
8Feb 26, 2025 17:01166,2035,521,530,1335,467,726,00016,989,0002,285,568
9Feb 26, 2025 17:01169,3995,622,743,5715,553,184,00036,967,0002,387,968