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 03:32Andrew EpsteinAndrew EpsteinScore: 125,397Success
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 03:33124,7403,742,222,5604,173,450,00040,521,0002,355,200stderr
2Oct 31, 2026 03:33124,7703,743,112,1274,173,435,00041,175,0002,355,200stderr
3Oct 31, 2026 03:33125,2293,756,879,8434,189,805,00042,037,0002,342,912stderr
4Oct 31, 2026 03:33125,3143,759,427,9404,191,793,00046,224,0002,355,200stderr
5Oct 31, 2026 03:33125,3973,761,922,4924,194,774,00043,311,0002,347,008stderr
6Oct 31, 2026 03:33125,5033,765,098,5344,198,952,00040,641,0002,248,704stderr
7Oct 31, 2026 03:33125,5713,767,143,6004,200,273,00041,103,0002,355,200stderr
8Oct 31, 2026 03:33125,5923,767,768,0664,193,535,00040,868,0002,355,200stderr
9Oct 31, 2026 03:33126,7663,803,001,9004,232,786,00043,342,0002,355,200stderr