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:54Andrew EpsteinAndrew EpsteinScore: 128,304Success
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 03:04121,1163,633,502,0913,852,761,00039,740,0002,256,896stderr
2Oct 31, 2026 03:04121,1343,634,024,4663,856,333,00041,755,0002,244,608stderr
3Oct 31, 2026 03:04121,3033,639,103,9613,855,604,00042,774,0002,244,608stderr
4Oct 31, 2026 03:04121,3303,639,902,9513,864,706,00040,591,0002,252,800stderr
5Oct 31, 2026 03:04128,3043,849,131,0684,068,457,00041,595,0002,256,896stderr
6Oct 31, 2026 03:04140,0604,201,814,9224,436,549,00042,132,0002,187,264stderr
7Oct 31, 2026 03:04140,4794,214,378,6824,430,607,00042,958,0002,195,456stderr
8Oct 31, 2026 03:04141,1824,235,465,0314,443,112,00069,190,0002,244,608stderr
9Oct 31, 2026 03:04144,2334,327,010,2364,473,103,00045,330,0002,129,920stderr