Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 82afcc7 commit 33c39a6Copy full SHA for 33c39a6
csharp/sprint0/D.cs
@@ -24,7 +24,7 @@ public static void Main(string[] args)
24
var array = ReadList();
25
var targetSum = ReadInt();
26
var result = TwoSum(array, targetSum);
27
- writer.WriteLine(result.Any() ? "None" : string.Join(" ", result));
+ writer.WriteLine(!result.Any() ? "None" : string.Join(" ", result));
28
29
reader.Close();
30
writer.Close();
csharp/sprint0/E.cs
var sortedArray = ReadList();
var result = TwoSum(sortedArray, targetSum);
0 commit comments