Update app.py
Browse files
app.py
CHANGED
@@ -14,7 +14,9 @@ lang_map = {
|
|
14 |
"CPP": ["c_cpp", "cpp", "// Don't Worry, You Can't Break It. We Promise.\n// For Cpp, please make sure the program lasts at least 1 ms.\n"],
|
15 |
"Java": ["java", "java", "// Don't Worry, You Can't Break It. We Promise.\n"],
|
16 |
"JavaScript": ["javascript", "javascript", "// Don't Worry, You Can't Break It. We Promise.\n"],
|
17 |
-
"Golang": ["golang", "go", "// Don't Worry, You Can't Break It. We Promise.\n"]
|
|
|
|
|
18 |
}
|
19 |
|
20 |
def post_task(lang, code, libs=None, timeout=30, memory_profile=False):
|
|
|
14 |
"CPP": ["c_cpp", "cpp", "// Don't Worry, You Can't Break It. We Promise.\n// For Cpp, please make sure the program lasts at least 1 ms.\n"],
|
15 |
"Java": ["java", "java", "// Don't Worry, You Can't Break It. We Promise.\n"],
|
16 |
"JavaScript": ["javascript", "javascript", "// Don't Worry, You Can't Break It. We Promise.\n"],
|
17 |
+
"Golang": ["golang", "go", "// Don't Worry, You Can't Break It. We Promise.\n"],
|
18 |
+
"Ruby": ["ruby", "ruby", "# Don't Worry, You Can't Break It. We Promise.\n"],
|
19 |
+
"Rust": ["rust", "rust", "// Don't Worry, You Can't Break It. We Promise.\n"],
|
20 |
}
|
21 |
|
22 |
def post_task(lang, code, libs=None, timeout=30, memory_profile=False):
|