Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 33c39a6

Browse files
committed
fixed typos
1 parent 82afcc7 commit 33c39a6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

csharp/sprint0/D.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ public static void Main(string[] args)
2424
var array = ReadList();
2525
var targetSum = ReadInt();
2626
var result = TwoSum(array, targetSum);
27-
writer.WriteLine(result.Any() ? "None" : string.Join(" ", result));
27+
writer.WriteLine(!result.Any() ? "None" : string.Join(" ", result));
2828

2929
reader.Close();
3030
writer.Close();

csharp/sprint0/E.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ public static void Main(string[] args)
2424
var sortedArray = ReadList();
2525
var targetSum = ReadInt();
2626
var result = TwoSum(sortedArray, targetSum);
27-
writer.WriteLine(result.Any() ? "None" : string.Join(" ", result));
27+
writer.WriteLine(!result.Any() ? "None" : string.Join(" ", result));
2828

2929
reader.Close();
3030
writer.Close();

0 commit comments

Comments
 (0)