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 listJan 10, 2026 15:29Josu San MartinJosu San MartinScore: 5,826Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 10, 2026 15:295,706171,188,013145,809,0002,996,0002,654,208
2Jan 10, 2026 15:295,727171,815,908146,704,0001,995,0002,641,920
3Jan 10, 2026 15:295,737172,117,562146,763,0001,996,0002,650,112
4Jan 10, 2026 15:295,749172,456,524146,805,0001,997,0002,551,808
5Jan 10, 2026 15:295,797173,904,266147,812,000998,0002,650,112
6Jan 10, 2026 15:295,799173,981,189146,808,0001,997,0002,551,808
7Jan 10, 2026 15:295,819174,558,246147,864,000999,0002,547,712
8Jan 10, 2026 15:295,823174,681,373146,491,0002,006,0002,551,808
9Jan 10, 2026 15:295,823174,678,548147,461,0001,003,0002,551,808
10Jan 10, 2026 15:295,826174,782,722147,354,0001,991,0002,527,232
11Jan 10, 2026 15:295,840175,204,449146,646,0001,995,0002,764,800
12Jan 10, 2026 15:295,862175,863,190145,716,0002,994,0002,637,824
13Jan 10, 2026 15:295,864175,917,902146,672,0001,995,0002,551,808
14Jan 10, 2026 15:295,901177,017,121145,673,0002,993,0002,646,016
15Jan 10, 2026 15:295,964178,928,483146,724,0001,996,0002,637,824
16Jan 10, 2026 15:295,971179,127,794146,827,0001,997,0002,551,808
17Jan 10, 2026 15:296,015180,457,660147,679,0001,004,0002,646,016
18Jan 10, 2026 15:296,162184,862,273153,744,0001,996,0002,646,016