There was an error while loading. Please reload this page.
acm-mu/piston (forked from engineer-man/piston)
The Piston API service is used to test submissions for the Blue division. It is forked from engineer-man with a few modifications.
POST /execute This endpoint requests execution of some arbitrary code.
POST https://piston.codeabac.us/execute HTTP/1.1 Content-Type: applicvation/json { "language": "python", "source": "for _ in range(int(input())):\n\ta = int(input())\n\tprint(a ** 2)", "stdin": "3\n1\n2\n4" }
HTTP/1.1 200 OK Content-Type: application/json; charset=utf-8 { "ran": true, "language": "python3", "version": "3.8.2", "stdout": "1\n4\n16", "stderr": "", "runtime": 137.04750394821167, "output": "1\n4\n16" }