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 01:52Andrew EpsteinAndrew EpsteinScore: 340,510Success
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 01:54340,07910,202,378,27410,754,435,00031,928,0002,277,376stderr
2Oct 31, 2026 01:54340,13810,204,145,45010,760,148,00030,316,0002,408,448stderr
3Oct 31, 2026 01:54340,16610,204,988,61410,751,886,00030,478,0002,273,280stderr
4Oct 31, 2026 01:54340,40910,212,297,14610,762,304,00031,928,0002,277,376stderr
5Oct 31, 2026 01:54340,51010,215,300,27310,759,990,00031,450,0002,273,280stderr
6Oct 31, 2026 01:54340,93810,228,154,37210,783,908,00029,627,0002,408,448stderr
7Oct 31, 2026 01:54341,30910,239,278,16910,791,215,00029,799,0002,260,992stderr
8Oct 31, 2026 01:54341,46110,243,848,38110,803,429,00031,062,0002,260,992stderr
9Oct 31, 2026 01:54344,12810,323,866,55610,869,193,00032,931,0002,408,448stderr