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:18Andrew EpsteinAndrew EpsteinScore: 124,997Success
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:20124,6943,740,822,7054,206,961,00042,375,0002,510,848stderr
2Oct 31, 2026 05:20124,8403,745,227,4714,208,036,00042,650,0002,502,656stderr
3Oct 31, 2026 05:20124,8593,745,794,2994,207,223,00042,519,0002,494,464stderr
4Oct 31, 2026 05:20124,9713,749,142,8704,207,369,00043,932,0002,498,560stderr
5Oct 31, 2026 05:20124,9973,749,928,4634,205,821,00044,997,0002,510,848stderr
6Oct 31, 2026 05:20125,1453,754,369,4824,217,937,00044,213,0002,502,656stderr
7Oct 31, 2026 05:20131,9853,959,565,2034,417,205,00044,555,0002,510,848stderr
8Oct 31, 2026 05:20143,0074,290,218,0044,822,720,00050,796,0002,117,632stderr
9Oct 31, 2026 05:20146,9384,408,144,9164,884,702,00045,859,0002,322,432stderr