From c78f1954beb8a047cc6616513231f13dfa273dd7 Mon Sep 17 00:00:00 2001 From: monkeytypegeorge Date: Sun, 17 Jan 2021 01:58:00 +0000 Subject: [PATCH] Added quote to code_c++.json --- static/quotes/code_c++.json | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 static/quotes/code_c++.json 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