vsj0702 commited on
Commit
6888b36
·
verified ·
1 Parent(s): c0e8d4b

Update utils.py

Browse files
Files changed (1) hide show
  1. utils.py +1 -1
utils.py CHANGED
@@ -18,7 +18,7 @@ def capture_output():
18
  finally:
19
  sys.stdout, sys.stderr = old_out, old_err
20
 
21
- def execute_code(code: str, stdin: str = "", language: str = "python") -> Tuple[str, str, str]:
22
  """
23
  Execute code in the specified language and return (stdout, stderr, exception)
24
 
 
18
  finally:
19
  sys.stdout, sys.stderr = old_out, old_err
20
 
21
+ def execute_code(code: str, stdin: str = "", language: str = "cpp") -> Tuple[str, str, str]:
22
  """
23
  Execute code in the specified language and return (stdout, stderr, exception)
24