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 listAug 17, 2026 12:53Tomislav TunkovicTomislav TunkovicError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Oct 15, 2026 18:15Andrew Epstein52.38CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 15, 2026 18:2503,618,568,72110,626,027,0003,155,00069,632expected "2106431 ", got "2097151 "
2Oct 15, 2026 18:2503,709,527,36910,899,195,0003,230,00069,632expected "2106720 ", got "2097151 "
3Oct 15, 2026 18:2501,871,217,9035,385,682,0003,221,00077,824expected "2101248 ", got "2097151 "
4Aug 17, 2026 12:571,91057,304,346128,713,0002,053,00077,824
5Aug 17, 2026 12:571,92557,765,742129,412,0002,061,00081,920
6Aug 17, 2026 12:571,92857,857,866129,555,0002,066,00077,824
7Aug 17, 2026 12:571,92957,878,045129,362,0002,067,00077,824
8Aug 17, 2026 12:571,93458,034,907130,007,0002,089,00077,824
9Aug 17, 2026 12:571,93758,134,982131,045,0002,048,00081,920
10Aug 17, 2026 12:571,94058,200,685130,965,0002,028,00077,824
11Aug 17, 2026 12:571,94158,234,096130,059,0002,073,00077,824
12Aug 17, 2026 12:572,10563,160,330132,892,0002,073,00077,824