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:24Andrew EpsteinAndrew EpsteinScore: 319,209Success
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:30318,1999,545,970,8789,949,108,00030,914,0002,220,032stderr
2Oct 31, 2026 02:30318,2869,548,595,3039,948,094,00030,573,0002,318,336stderr
3Oct 31, 2026 02:30318,9299,567,879,6509,951,088,00029,803,0002,318,336stderr
4Oct 31, 2026 02:30319,2079,576,236,9089,973,696,00031,809,0002,220,032stderr
5Oct 31, 2026 02:30319,2099,576,298,6159,972,937,00030,996,0002,318,336stderr
6Oct 31, 2026 02:30319,2139,576,407,4989,971,495,00031,737,0002,220,032stderr
7Oct 31, 2026 02:30319,2399,577,171,4509,979,153,00030,745,0002,318,336stderr
8Oct 31, 2026 02:30325,5349,766,042,38310,155,421,00033,873,0002,215,936stderr
9Oct 31, 2026 02:30341,69010,250,707,21310,691,349,00033,808,0002,318,336stderr