TheUltimateTestQ 1.0.0
dotnet add package TheUltimateTestQ --version 1.0.0
NuGet\Install-Package TheUltimateTestQ -Version 1.0.0
<PackageReference Include="TheUltimateTestQ" Version="1.0.0" />
paket add TheUltimateTestQ --version 1.0.0
#r "nuget: TheUltimateTestQ, 1.0.0"
// Install TheUltimateTestQ as a Cake Addin #addin nuget:?package=TheUltimateTestQ&version=1.0.0 // Install TheUltimateTestQ as a Cake Tool #tool nuget:?package=TheUltimateTestQ&version=1.0.0
Codingame Solution
The Ultimate Test
https://www.codingame.com/ide/puzzle/the-ultimate-test
Write a program that outputs all possibilities to put + or - or nothing between the digits of a number N such that the result is K(a number).
For an example N = 123456789 and K = 100
Explanation : 1 + 2 + 3 - 4 + 5 + 6 + 78 + 9 = 100. (This is just 1 case, you are supposed to find all of them).
NOTE : When there is nothing between the numbers they get appended. NOTE : The order of the digits should not be changed. NOTE : Ordering priority is nothing > + > - . NOTE : There is no 0 involved in N.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
-
net8.0
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
1.0.0 | 181 | 1/19/2024 |