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 listOct 31, 2026 09:31Andrew EpsteinAndrew EpsteinScore: 125,508Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 31, 2026 09:35124,2583,727,744,2404,141,171,00042,816,0002,232,320stderr
2Oct 31, 2026 09:35124,8363,745,088,5754,163,310,00045,711,0002,211,840stderr
3Oct 31, 2026 09:35124,9523,748,566,4984,160,641,00045,543,0002,322,432stderr
4Oct 31, 2026 09:35125,2743,758,244,3644,170,225,00044,749,0002,215,936stderr
5Oct 31, 2026 09:35125,5083,765,262,5844,171,806,00046,302,0002,236,416stderr
6Oct 31, 2026 09:35125,9533,778,607,7494,194,126,00042,633,0002,211,840stderr
7Oct 31, 2026 09:35143,2634,297,898,1894,738,714,00042,863,0002,117,632stderr
8Oct 31, 2026 09:35147,4744,424,224,1824,934,510,00050,787,0002,121,728stderr
9Oct 31, 2026 09:35149,2324,476,972,7844,908,161,00051,066,0002,117,632stderr