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 listAug 18, 2026 00:23Victor MerckléVictor MerckléScore: 2,087Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 18, 2026 00:332,06461,921,587153,668,0001,209,0002,170,880stderr
2Aug 18, 2026 00:332,06862,064,603154,828,0001,244,0002,170,880stderr
3Aug 18, 2026 00:332,07062,123,527153,968,0001,243,0002,170,880stderr
4Aug 18, 2026 00:332,07762,328,534153,993,0001,013,0002,170,880stderr
5Aug 18, 2026 00:332,08762,626,984156,705,0001,155,0002,170,880stderr
6Aug 18, 2026 00:332,12363,692,182160,225,0001,226,0002,170,880stderr
7Aug 18, 2026 00:332,14864,468,346162,988,0001,217,0002,170,880stderr
8Aug 18, 2026 00:332,15164,547,138163,100,0001,160,0002,170,880stderr
9Aug 18, 2026 00:332,20766,225,566166,578,0001,213,0002,170,880stderr