Unique strings v2 Sergey Svistunov

Same problem as Unique strings, but with 3 CPUs available and scoring based on wall time instead of CPU time.

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 listDec 30, 2025 23:58Aman | अमनAman | अमनScore: 346,057Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 30, 2025 23:58344,54610,336,376,53510,264,561,00041,973,0002,588,672
2Dec 30, 2025 23:58345,14710,354,404,77210,275,996,00045,973,0002,564,096
3Dec 30, 2025 23:58345,15610,354,690,36310,271,339,00048,968,0002,756,608
4Dec 30, 2025 23:58345,51610,365,485,95410,298,596,00034,978,0002,596,864
5Dec 30, 2025 23:58346,05710,381,716,87210,304,061,00040,976,0002,695,168
6Dec 30, 2025 23:58347,84110,435,229,46710,362,689,00035,978,0002,527,232
7Dec 30, 2025 23:58347,96110,438,829,62510,359,146,00044,970,0002,727,936
8Dec 30, 2025 23:58348,03210,440,961,02110,368,885,00041,971,0002,711,552
9Dec 30, 2025 23:58348,30010,449,006,43910,366,556,00044,972,0002,580,480