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 05:20Andrew EpsteinAndrew EpsteinScore: 124,870Success
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 05:22123,9473,718,413,7354,151,944,00043,280,0002,326,528stderr
2Oct 31, 2026 05:22124,2283,726,861,4414,157,820,00043,051,0002,322,432stderr
3Oct 31, 2026 05:22124,2813,728,439,3084,159,044,00044,332,0002,330,624stderr
4Oct 31, 2026 05:22124,7003,741,003,2574,175,390,00040,933,0002,330,624stderr
5Oct 31, 2026 05:22124,8703,746,125,7444,180,062,00046,393,0002,330,624stderr
6Oct 31, 2026 05:22125,5773,767,316,0264,197,892,00044,562,0002,207,744stderr
7Oct 31, 2026 05:22127,3863,821,587,4224,259,820,00040,861,0002,314,240stderr
8Oct 31, 2026 05:22127,5753,827,265,5754,252,649,00045,690,0002,232,320stderr
9Oct 31, 2026 05:22129,5953,887,871,4814,310,239,00048,043,0002,211,840stderr