summaryrefslogtreecommitdiff
path: root/yaksh/cpp_stdio_evaluator.py
diff options
context:
space:
mode:
Diffstat (limited to 'yaksh/cpp_stdio_evaluator.py')
-rw-r--r--yaksh/cpp_stdio_evaluator.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/yaksh/cpp_stdio_evaluator.py b/yaksh/cpp_stdio_evaluator.py
index 28b0a0b..db49adf 100644
--- a/yaksh/cpp_stdio_evaluator.py
+++ b/yaksh/cpp_stdio_evaluator.py
@@ -22,7 +22,6 @@ class CppStdioEvaluator(CodeEvaluator):
def set_file_paths(self):
user_output_path = os.getcwd() + '/output'
ref_output_path = os.getcwd() + '/executable'
-
return user_output_path, ref_output_path
def get_commands(self, user_output_path, ref_output_path):
@@ -30,7 +29,6 @@ class CppStdioEvaluator(CodeEvaluator):
user_output_path)
compile_main = 'g++ {0} -o {1}'.format(user_output_path,
ref_output_path)
-
return compile_command, compile_main
def compile_code(self, user_answer, expected_input, expected_output):
@@ -101,5 +99,4 @@ class CppStdioEvaluator(CodeEvaluator):
err = err + "\n" + e
except:
err = err + "\n" + stdnt_stderr
-
return success, err