{
"language": "c",
"code": "#include <stdio.h>\nint main() {\n int a, b;\n scanf(\"%d%d\", &a, &b);\n printf(\"%d\\n\", a + b);\n return 0;\n}"
}
curl --location --request POST '/submit' \
--header 'Content-Type: application/json' \
--data-raw '{
"language": "c",
"code": "#include <stdio.h>\nint main() {\n int a, b;\n scanf(\"%d%d\", &a, &b);\n printf(\"%d\\n\", a + b);\n return 0;\n}"
}'
{
"message": "Result: Accepted"
}