aboutsummaryrefslogtreecommitdiff
path: root/Codeforces.Console/IOTester.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Codeforces.Console/IOTester.cs')
-rw-r--r--Codeforces.Console/IOTester.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Codeforces.Console/IOTester.cs b/Codeforces.Console/IOTester.cs
index c5ffc77..8fdb931 100644
--- a/Codeforces.Console/IOTester.cs
+++ b/Codeforces.Console/IOTester.cs
@@ -33,7 +33,7 @@ namespace Codeforces
{
if (stdOut == null)
{
- return "";
+ return string.Empty;
}
else
{
@@ -43,7 +43,7 @@ namespace Codeforces
public static string[] GetOutputLines()
{
- return GetOutput().Split(Environment.NewLine);
+ return GetOutput().Split(Environment.NewLine).SkipLast(1).ToArray();
}
public static IList<string> GetOutputLinesAsList()