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:16Andrew EpsteinAndrew EpsteinScore: 125,199Success
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:24124,4143,732,434,4114,149,479,00043,462,0002,199,552stderr
2Oct 31, 2026 09:24124,4853,734,579,5534,157,871,00042,552,0002,322,432stderr
3Oct 31, 2026 09:24124,5063,735,207,4024,157,040,00047,936,0002,207,744stderr
4Oct 31, 2026 09:24124,9453,748,372,9314,168,351,00045,743,0002,207,744stderr
5Oct 31, 2026 09:24125,1993,755,986,3104,178,564,00043,339,0002,322,432stderr
6Oct 31, 2026 09:24125,6113,768,353,3634,193,093,00043,864,0002,326,528stderr
7Oct 31, 2026 09:24125,7333,771,990,9774,191,503,00046,056,0002,207,744stderr
8Oct 31, 2026 09:24128,5073,855,217,8594,279,278,00043,534,0002,117,632stderr
9Oct 31, 2026 09:24131,4053,942,178,9774,363,070,00047,987,0002,322,432stderr