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:43Andrew EpsteinAndrew EpsteinScore: 128,463Success
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:50124,8743,746,232,3764,150,692,00046,883,0002,232,320stderr
2Oct 31, 2026 09:50124,9673,749,030,7734,166,047,00043,958,0002,236,416stderr
3Oct 31, 2026 09:50125,9983,779,957,8644,187,049,00044,379,0002,117,632stderr
4Oct 31, 2026 09:50126,7803,803,413,9274,215,449,00042,096,0002,232,320stderr
5Oct 31, 2026 09:50128,4633,853,902,9074,266,578,00043,904,0002,232,320stderr
6Oct 31, 2026 09:50131,1583,934,757,7874,338,661,00048,303,0002,314,240stderr
7Oct 31, 2026 09:50131,2213,936,640,5064,345,914,00043,573,0002,207,744stderr
8Oct 31, 2026 09:50131,3693,941,080,5304,342,074,00046,993,0002,121,728stderr
9Oct 31, 2026 09:50131,5213,945,657,2334,354,193,00048,597,0002,207,744stderr