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:59Aman | अमनAman | अमनScore: 344,770Success
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:59343,82110,314,617,44810,239,848,00044,977,0002,613,248
2Dec 30, 2025 23:59344,33010,329,888,67810,260,828,00038,976,0002,699,264
3Dec 30, 2025 23:59344,34010,330,209,20510,254,029,00042,974,0002,752,512
4Dec 30, 2025 23:59344,50410,335,108,05510,258,714,00041,974,0002,637,824
5Dec 30, 2025 23:59344,77010,343,088,39510,273,710,00039,975,0002,629,632
6Dec 30, 2025 23:59345,16410,354,920,62010,272,557,00042,973,0002,621,440
7Dec 30, 2025 23:59346,17710,385,323,36210,309,365,00040,973,0002,777,088
8Dec 30, 2025 23:59346,96110,408,831,90710,340,516,00036,976,0002,691,072
9Dec 30, 2025 23:59348,04110,441,220,86310,363,638,00042,973,0002,711,552