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 listSep 12, 2026 05:49Haha ExpertHaha ExpertScore: 181,642Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 12, 2026 05:51165,0144,950,447,4121,386,623,0001,837,830,0002,117,632
2Sep 12, 2026 05:51165,3204,959,614,9131,386,246,0001,857,912,0002,125,824
3Sep 12, 2026 05:51168,8525,065,577,4991,378,171,0001,629,972,0002,129,920
4Sep 12, 2026 05:51172,1025,163,087,7281,377,248,0001,670,015,0002,117,632
5Sep 12, 2026 05:51181,6425,449,265,4921,379,858,0001,821,618,0002,117,632
6Sep 12, 2026 05:51199,8805,996,400,7331,375,262,0001,780,619,0002,117,632
7Sep 12, 2026 05:51203,9826,119,478,4911,386,553,0001,723,164,0002,117,632
8Sep 12, 2026 05:51206,1176,183,539,4951,375,600,0001,630,827,0002,113,536
9Sep 12, 2026 05:51240,1917,205,739,2091,375,846,0001,657,750,0002,117,632