diff --git a/static/quotes/code_c++.json b/static/quotes/code_c++.json new file mode 100644 index 000000000..5ff58548f --- /dev/null +++ b/static/quotes/code_c++.json @@ -0,0 +1,29 @@ +{ + "language": "code_c++", + "groups": [ + [ + 0, + 100 + ], + [ + 101, + 300 + ], + [ + 301, + 600 + ], + [ + 601, + 9999 + ] + ], + "quotes": [ + { + "text": "#include \\nusing namespace std;\\nint main(){\\n\\tint len;\\n\\tcin >> len;\\n\\tvector 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 + } + ] +} \ No newline at end of file