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 14, 2026 14:42Yehor BondarYehor BondarScore: 100,396Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 14, 2026 14:48100,2613,007,841,0002,963,829,00031,825,0002,121,728stderr
2Aug 14, 2026 14:48100,2693,008,078,5922,965,102,00030,932,0002,121,728stderr
3Aug 14, 2026 14:48100,2973,008,939,0392,965,169,00031,611,0002,121,728stderr
4Aug 14, 2026 14:48100,3353,010,079,9442,967,142,00030,762,0002,121,728stderr
5Aug 14, 2026 14:48100,3963,011,893,8512,968,769,00031,075,0002,121,728stderr
6Aug 14, 2026 14:48100,4083,012,250,1622,968,489,00031,888,0002,121,728stderr
7Aug 14, 2026 14:48100,5533,016,610,3472,972,180,00032,208,0002,121,728stderr
8Aug 14, 2026 14:48100,7313,021,952,8942,977,062,00032,859,0002,121,728stderr
9Aug 14, 2026 14:48100,9763,029,295,7222,984,684,00032,624,0002,121,728stderr