mirror of
https://github.com/compiler-explorer/compiler-explorer.git
synced 2026-12-01 07:48:02 -06:00
54 lines
1.8 KiB
Plaintext
54 lines
1.8 KiB
Plaintext
{
|
|
"sessions": [
|
|
{
|
|
"conformanceview": false,
|
|
"id": 1,
|
|
"language": "c++",
|
|
"source": "// Type your code here, or load an example.\r\nint square(int num) {\r\n return num * num + 3;\r\n}\r\n\r\n",
|
|
"compilers": [
|
|
{
|
|
"id": "vc2017_64",
|
|
"options": "-O2",
|
|
"filters": {
|
|
"binary": false,
|
|
"execute": false,
|
|
"labels": true,
|
|
"directives": true,
|
|
"commentOnly": true,
|
|
"demangle": true,
|
|
"trim": false,
|
|
"intel": true
|
|
},
|
|
"libs": [],
|
|
"specialoutputs": [],
|
|
"tools": []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"conformanceview": false,
|
|
"id": 2,
|
|
"language": "c++",
|
|
"source": "// Type your code here, or load an example.\r\nint square(int num) {\r\n return num * num;\r\n}",
|
|
"compilers": [
|
|
{
|
|
"id": "vc2017_32",
|
|
"options": "-O3",
|
|
"filters": {
|
|
"binary": false,
|
|
"execute": false,
|
|
"labels": true,
|
|
"directives": true,
|
|
"commentOnly": true,
|
|
"demangle": true,
|
|
"trim": false,
|
|
"intel": true
|
|
},
|
|
"libs": [],
|
|
"specialoutputs": [],
|
|
"tools": []
|
|
}
|
|
]
|
|
}
|
|
]
|
|
} |