mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-02-04 21:09:18 +08:00
Added quote to code_c++.json
This commit is contained in:
parent
a78783af46
commit
c78f1954be
1 changed files with 29 additions and 0 deletions
29
static/quotes/code_c++.json
Normal file
29
static/quotes/code_c++.json
Normal file
|
@ -0,0 +1,29 @@
|
|||
{
|
||||
"language": "code_c++",
|
||||
"groups": [
|
||||
[
|
||||
0,
|
||||
100
|
||||
],
|
||||
[
|
||||
101,
|
||||
300
|
||||
],
|
||||
[
|
||||
301,
|
||||
600
|
||||
],
|
||||
[
|
||||
601,
|
||||
9999
|
||||
]
|
||||
],
|
||||
"quotes": [
|
||||
{
|
||||
"text": "#include <bits/stdc++.h>\\nusing namespace std;\\nint main(){\\n\\tint len;\\n\\tcin >> len;\\n\\tvector <int> array(len);\\n\\tint sum = 0;\\n\\tfor(int i = 0; i < len; i++){\\n\\t\\tcin >> array[i];\\n\\t\\tsum += array[i];\\n\\t}\\n\\tcout << sum;\\n\\treturn 0;\\n}\\n",
|
||||
"source": "Sum of array in C++",
|
||||
"length": 246,
|
||||
"id": 1
|
||||
}
|
||||
]
|
||||
}
|
Loading…
Reference in a new issue