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 06:50Andrew EpsteinAndrew EpsteinScore: 124,688Success
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 06:59123,8383,715,154,8474,130,371,00042,270,0002,330,624stderr
2Oct 31, 2026 06:59123,8803,716,425,5734,130,701,00040,791,0002,326,528stderr
3Oct 31, 2026 06:59124,1783,725,361,8614,147,201,00039,924,0002,326,528stderr
4Oct 31, 2026 06:59124,3583,730,750,3174,141,925,00040,192,0002,232,320stderr
5Oct 31, 2026 06:59124,6883,740,665,2034,156,078,00044,159,0002,236,416stderr
6Oct 31, 2026 06:59125,2053,756,156,6324,174,078,00043,136,0002,117,632stderr
7Oct 31, 2026 06:59128,2793,848,391,7984,259,471,00046,175,0002,330,624stderr
8Oct 31, 2026 06:59130,0443,901,323,3374,313,142,00041,518,0002,322,432stderr
9Oct 31, 2026 06:59131,3323,939,960,5354,352,225,00045,115,0002,322,432stderr