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:34Andrew EpsteinAndrew EpsteinScore: 124,200Success
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:35123,9753,719,274,9704,133,679,00045,905,0002,211,840stderr
2Oct 31, 2026 05:35124,0213,720,650,1284,141,631,00043,906,0002,322,432stderr
3Oct 31, 2026 05:35124,1423,724,264,0454,149,639,00044,068,0002,322,432stderr
4Oct 31, 2026 05:35124,1943,725,835,6404,149,235,00045,198,0002,322,432stderr
5Oct 31, 2026 05:35124,2003,726,012,4294,146,749,00046,889,0002,318,336stderr
6Oct 31, 2026 05:35124,3353,730,068,4374,155,186,00045,045,0002,322,432stderr
7Oct 31, 2026 05:35124,4823,734,481,3744,157,371,00043,848,0002,215,936stderr
8Oct 31, 2026 05:35124,4933,734,817,9064,155,103,00043,451,0002,322,432stderr
9Oct 31, 2026 05:35124,5573,736,721,3244,159,615,00045,614,0002,322,432stderr