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 02:20Andrew EpsteinAndrew EpsteinScore: 339,790Success
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 02:23335,19610,055,904,00910,444,730,00030,206,0002,125,824stderr
2Oct 31, 2026 02:23335,33210,059,976,11310,455,050,00029,083,0002,310,144stderr
3Oct 31, 2026 02:23337,17010,115,122,81710,511,083,00029,430,0002,301,952stderr
4Oct 31, 2026 02:23337,28310,118,508,43910,504,142,00028,894,0002,224,128stderr
5Oct 31, 2026 02:23339,79010,193,724,63010,585,328,00030,081,0002,310,144stderr
6Oct 31, 2026 02:23340,46710,214,012,81010,597,424,00033,486,0002,211,840stderr
7Oct 31, 2026 02:23342,17110,265,155,17710,660,677,00030,116,0002,310,144stderr
8Oct 31, 2026 02:23343,96410,318,935,87010,727,763,00034,901,0002,121,728stderr
9Oct 31, 2026 02:23374,26811,228,068,23911,605,381,00044,545,0002,121,728stderr