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 08:45Andrew EpsteinAndrew EpsteinScore: 124,097Success
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 08:46123,4203,702,603,5984,113,766,00041,010,0002,576,384stderr
2Oct 31, 2026 08:46123,8083,714,253,1274,129,289,00041,149,0002,568,192stderr
3Oct 31, 2026 08:46124,0083,720,261,2334,134,852,00041,167,0002,478,080stderr
4Oct 31, 2026 08:46124,0923,722,774,5504,135,943,00044,235,0002,555,904stderr
5Oct 31, 2026 08:46124,0973,722,921,7574,137,806,00040,343,0002,465,792stderr
6Oct 31, 2026 08:46124,3843,731,544,5914,143,640,00042,277,0002,461,696stderr
7Oct 31, 2026 08:46124,3853,731,562,8904,143,569,00045,491,0002,535,424stderr
8Oct 31, 2026 08:46124,5413,736,239,5344,150,118,00042,160,0002,576,384stderr
9Oct 31, 2026 08:46131,1653,934,959,7174,346,468,00044,417,0002,465,792stderr