Update app.py
Browse files
app.py
CHANGED
|
@@ -150,7 +150,7 @@ def run_cpp_code(code: str):
|
|
| 150 |
compiler, "-Ofast", "-std=c++17",
|
| 151 |
"-march=armv8.5-a", "-mtune=apple-m1",
|
| 152 |
"-mcpu=apple-m1", "-o", "optimized",
|
| 153 |
-
f"optimized-{current_time}.cpp"
|
| 154 |
]
|
| 155 |
subprocess.run(
|
| 156 |
compile_cmd, check=True, text=True, capture_output=True
|
|
|
|
| 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(
|
| 156 |
compile_cmd, check=True, text=True, capture_output=True
|