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 04:12Andrew EpsteinAndrew EpsteinScore: 126,271Success
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 04:17126,0493,781,476,7594,335,970,00044,446,0002,322,432stderr
2Oct 31, 2026 04:17126,0753,782,274,4954,336,077,00044,327,0002,322,432stderr
3Oct 31, 2026 04:17126,1343,784,021,8444,342,348,00041,706,0002,322,432stderr
4Oct 31, 2026 04:17126,2603,787,803,6794,337,192,00045,503,0002,322,432stderr
5Oct 31, 2026 04:17126,2713,788,140,7424,339,522,00043,433,0002,322,432stderr
6Oct 31, 2026 04:17126,6183,798,545,5094,351,801,00044,598,0002,314,240stderr
7Oct 31, 2026 04:17126,6483,799,459,3764,354,964,00041,851,0002,322,432stderr
8Oct 31, 2026 04:17127,0883,812,645,6834,362,430,00047,037,0002,314,240stderr
9Oct 31, 2026 04:17132,6683,980,061,8294,528,475,00048,146,0002,322,432stderr