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 24, 2026 09:06Victor MerckléVictor MerckléError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Sep 4, 2026 16:45Tomislav Tunkovic10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 4, 2026 16:56012,289,9096,442,0001,240,0002,174,976expected "2068 ", got "2292 "stderr
2Sep 4, 2026 16:56020,020,301,26660,020,709,0005,029,00086,016Killed by timeout
3Aug 24, 2026 09:071,66249,883,827117,707,0001,009,0002,170,880stderr
4Aug 24, 2026 09:071,66850,052,005116,798,0001,008,0002,170,880stderr
5Aug 24, 2026 09:071,67250,172,952117,363,0001,006,0002,170,880stderr
6Aug 24, 2026 09:071,67450,239,517118,463,0002,021,0002,170,880stderr
7Aug 24, 2026 09:071,68350,492,221118,861,0002,066,0002,170,880stderr
8Aug 24, 2026 09:071,69150,731,024120,636,0001,021,0002,170,880stderr
9Aug 24, 2026 09:071,70351,090,888119,253,0002,033,0002,170,880stderr
10Aug 24, 2026 09:071,70951,290,075120,902,0001,023,0002,170,880stderr
11Aug 24, 2026 09:071,72251,675,968120,706,0001,032,0002,170,880stderr