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 06:26Andrew EpsteinAndrew EpsteinScore: 124,906Success
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 06:28123,9903,719,701,6204,136,080,00039,759,0002,232,320stderr
2Oct 31, 2026 06:28124,1373,724,131,5744,133,901,00040,306,0002,322,432stderr
3Oct 31, 2026 06:28124,1583,724,743,7274,142,228,00039,938,0002,322,432stderr
4Oct 31, 2026 06:28124,7773,743,324,5594,162,954,00040,944,0002,232,320stderr
5Oct 31, 2026 06:28124,9063,747,196,0784,159,213,00044,295,0002,121,728stderr
6Oct 31, 2026 06:28125,2553,757,679,5144,170,193,00045,982,0002,117,632stderr
7Oct 31, 2026 06:28131,3233,939,696,2154,341,848,00046,997,0002,121,728stderr
8Oct 31, 2026 06:28131,4933,944,795,5334,359,915,00045,863,0002,326,528stderr
9Oct 31, 2026 06:28131,5013,945,059,1624,349,619,00049,313,0002,207,744stderr