MightyOctopus commited on
Commit
646bb57
·
verified ·
1 Parent(s): 0177f99

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -147,9 +147,8 @@ def run_cpp_code(code: str):
147
 
148
  ### 1. Compile the code
149
  compile_cmd = [
150
- compiler, "-Ofast", "-std=c++17",
151
- "-march=armv8.5-a", "-mtune=apple-m1",
152
- "-mcpu=apple-m1", "-o", "optimized",
153
  f"/tmp/optimized-{current_time}.cpp"
154
  ]
155
  subprocess.run(
 
147
 
148
  ### 1. Compile the code
149
  compile_cmd = [
150
+ compiler, "-O3", "-ffast-math", "-std=c++17",
151
+ "-o", "/tmp/optimized",
 
152
  f"/tmp/optimized-{current_time}.cpp"
153
  ]
154
  subprocess.run(