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 listMar 13, 2026 11:26Dominique GarmierDominique GarmierScore: 360,017Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 13, 2026 11:26358,75410,762,616,42710,706,669,00027,986,0002,576,384
2Mar 13, 2026 11:26359,37610,781,288,97510,720,028,00029,983,0002,764,800
3Mar 13, 2026 11:26359,49710,784,907,13910,724,649,00029,985,0002,646,016
4Mar 13, 2026 11:26359,91510,797,464,08710,732,452,00034,981,0002,764,800
5Mar 13, 2026 11:26360,01710,800,503,57310,739,696,00030,984,0002,768,896
6Mar 13, 2026 11:26360,90510,827,164,69910,764,523,00026,983,0002,740,224
7Mar 13, 2026 11:26360,97310,829,187,82310,771,428,00024,984,0002,744,320
8Mar 13, 2026 11:26361,03610,831,080,49210,756,742,00036,978,0002,633,728
9Mar 13, 2026 11:26362,23710,867,110,68910,804,320,00029,981,0002,547,712