Загрузка данных
Run tests:
-------------------------------------------------------------------------------
Quest_1
Style test
Style test output:
b"/builds/pipelines/test/to/src/key9part2.c:10:31: warning: code should be clang-formatted [-Wclang-format-violations]\nint input(int *buff, int *len)\n |\n/builds/pipelines/test/to/src/key9part2.c:20:50: warning: code should be clang-formatted [-Wclang-format-violations]\n while ((ch = getchar()) != '\\n' && ch != EOF)\n |\n/builds/pipelines/test/to/src/key9part2.c:22:36: warning: code should be clang-formatted [-Wclang-format-violations]\n if (ch >= '0' && ch <= '9')\n |\n/builds/pipelines/test/to/src/key9part2.c:26:17: warning: code should be clang-formatted [-Wclang-format-violations]\n else\n |\n/builds/pipelines/test/to/src/key9part2.c:31:10: warning: code should be clang-formatted [-Wclang-format-violations]\n }\n |\n/builds/pipelines/test/to/src/key9part2.c:32:56: warning: code should be clang-formatted [-Wclang-format-violations]\n else if (ch == ' ' || ch == '\\t' || ch == '\\r')\n |\n/builds/pipelines/test/to/src/key9part2.c:34:26: warning: code should be clang-formatted [-Wclang-format-violations]\n if (in_digit)\n |\n/builds/pipelines/test/to/src/key9part2.c:36:32: warning: code should be clang-formatted [-Wclang-format-violations]\n if (*len < LEN)\n |\n/builds/pipelines/test/to/src/key9part2.c:40:36: warning: code should be clang-formatted [-Wclang-format-violations]\n if (digit != 0)\n |\n/builds/pipelines/test/to/src/key9part2.c:42:18: warning: code should be clang-formatted [-Wclang-format-violations]\n }\n |\n/builds/pipelines/test/to/src/key9part2.c:48:10: warning: code should be clang-formatted [-Wclang-format-violations]\n }\n |\n/builds/pipelines/test/to/src/key9part2.c:53:18: warning: code should be clang-formatted [-Wclang-format-violations]\n if (in_digit)\n |\n/builds/pipelines/test/to/src/key9part2.c:55:24: warning: code should be clang-formatted [-Wclang-format-violations]\n if (*len < LEN)\n |\n/builds/pipelines/test/to/src/key9part2.c:59:28: warning: code should be clang-formatted [-Wclang-format-violations]\n if (digit != 0)\n |\n/builds/pipelines/test/to/src/key9part2.c:61:10: warning: code should be clang-formatted [-Wclang-format-violations]\n }\n |\n/builds/pipelines/test/to/src/key9part2.c:69:36: warning: code should be clang-formatted [-Wclang-format-violations]\nvoid normalize(int *buff, int *len)\n |\n/builds/pipelines/test/to/src/key9part2.c:73:41: warning: code should be clang-formatted [-Wclang-format-violations]\n while (i < *len - 1 && buff[i] == 0)\n |\n/builds/pipelines/test/to/src/key9part2.c:76:15: warning: code should be clang-formatted [-Wclang-format-violations]\n if (i > 0)\n |\n/builds/pipelines/test/to/src/key9part2.c:79:39: warning: code should be clang-formatted [-Wclang-format-violations]\n for (int j = 0; j < *len; j++)\n |\n/builds/pipelines/test/to/src/key9part2.c:84:32: warning: code should be clang-formatted [-Wclang-format-violations]\nvoid output(int *buff, int len)\n |\n/builds/pipelines/test/to/src/key9part2.c:86:34: warning: code should be clang-formatted [-Wclang-format-violations]\n for (int i = 0; i < len; i++)\n |\n/builds/pipelines/test/to/src/key9part2.c:88:19: warning: code should be clang-formatted [-Wclang-format-violations]\n if (i > 0)\n |\n/builds/pipelines/test/to/src/key9part2.c:95:53: warning: code should be clang-formatted [-Wclang-format-violations]\nvoid sum(int *buff1, int len1, int *buff2, int len2,\n |\n/builds/pipelines/test/to/src/key9part2.c:96:42: warning: code should be clang-formatted [-Wclang-format-violations]\n int *result, int *result_length)\n |\n/builds/pipelines/test/to/src/key9part2.c:105:42: warning: code should be clang-formatted [-Wclang-format-violations]\n while (i >= 0 || j >= 0 || carry > 0)\n |\n/builds/pipelines/test/to/src/key9part2.c:109:20: warning: code should be clang-formatted [-Wclang-format-violations]\n if (i >= 0)\n |\n/builds/pipelines/test/to/src/key9part2.c:111:20: warning: code should be clang-formatted [-Wclang-format-violations]\n if (j >= 0)\n |\n/builds/pipelines/test/to/src/key9part2.c:120:34: warning: code should be clang-formatted [-Wclang-format-violations]\n for (int k = 0; k < len; k++)\n |\n/builds/pipelines/test/to/src/key9part2.c:124:53: warning: code should be clang-formatted [-Wclang-format-violations]\nvoid sub(int *buff1, int len1, int *buff2, int len2,\n |\n/builds/pipelines/test/to/src/key9part2.c:125:42: warning: code should be clang-formatted [-Wclang-format-violations]\n int *result, int *result_length)\n |\n/builds/pipelines/test/to/src/key9part2.c:134:21: warning: code should be clang-formatted [-Wclang-format-violations]\n if (len1 < len2)\n |\n/builds/pipelines/test/to/src/key9part2.c:140:22: warning: code should be clang-formatted [-Wclang-format-violations]\n if (len1 == len2)\n |\n/builds/pipelines/test/to/src/key9part2.c:142:35: warning: code should be clang-formatted [-Wclang-format-violations]\n for (i = 0; i < len1; i++)\n |\n/builds/pipelines/test/to/src/key9part2.c:144:37: warning: code should be clang-formatted [-Wclang-format-violations]\n if (buff1[i] < buff2[i])\n |\n/builds/pipelines/test/to/src/key9part2.c:149:37: warning: code should be clang-formatted [-Wclang-format-violations]\n if (buff1[i] > buff2[i])\n |\n/builds/pipelines/test/to/src/key9part2.c:157:19: warning: code should be clang-formatted [-Wclang-format-violations]\n while (i >= 0)\n |\n/builds/pipelines/test/to/src/key9part2.c:161:20: warning: code should be clang-formatted [-Wclang-format-violations]\n if (j >= 0)\n |\n/builds/pipelines/test/to/src/key9part2.c:166:23: warning: code should be clang-formatted [-Wclang-format-violations]\n if (digit < 0)\n |\n/builds/pipelines/test/to/src/key9part2.c:177:42: warning: code should be clang-formatted [-Wclang-format-violations]\n while (len > 1 && temp[len - 1] == 0)\n |\n/builds/pipelines/test/to/src/key9part2.c:182:34: warning: code should be clang-formatted [-Wclang-format-violations]\n for (int k = 0; k < len; k++)\n |\n/builds/pipelines/test/to/src/key9part2.c:186:15: warning: code should be clang-formatted [-Wclang-format-violations]\nint main(void)\n |\n/builds/pipelines/test/to/src/key9part2.c:195:54: warning: code should be clang-formatted [-Wclang-format-violations]\n if (!input(buff1, &len1) || !input(buff2, &len2))\n |\n"
Style test: FAIL 0
Style test result: 0
-------------------------------------------------------------------------------
Build output:
Project build: OK 1
Build result: 1
-------------------------------------------------------------------------------
Test number: 0, name: Quest_1
Test output: Result for test with number 0: OK 1
Test result: 0
-------------------------------------------------------------------------------
Test number: 1, name: Quest_1
Test output: Result for test with number 1: OK 1
Test result: 0
-------------------------------------------------------------------------------
Test number: 2, name: Quest_1
Test output: Result for test with number 2: OK 1
Test result: 0
-------------------------------------------------------------------------------
Test number: 3, name: Quest_1
Test output: Result for test with number 3: OK 1
Test result: 0
-------------------------------------------------------------------------------
Test number: 4, name: Quest_1
Test output: Result for test with number 4: OK 1
Test result: 0
-------------------------------------------------------------------------------
Test number: 5, name: Quest_1
Test output: Result for test with number 5: OK 1
Test result: 0
-------------------------------------------------------------------------------
Quest_2
Style test
Style test output:
b"/builds/pipelines/test/to/src/key9part2.c:10:31: warning: code should be clang-formatted [-Wclang-format-violations]\nint input(int *buff, int *len)\n |\n/builds/pipelines/test/to/src/key9part2.c:20:50: warning: code should be clang-formatted [-Wclang-format-violations]\n while ((ch = getchar()) != '\\n' && ch != EOF)\n |\n/builds/pipelines/test/to/src/key9part2.c:22:36: warning: code should be clang-formatted [-Wclang-format-violations]\n if (ch >= '0' && ch <= '9')\n |\n/builds/pipelines/test/to/src/key9part2.c:26:17: warning: code should be clang-formatted [-Wclang-format-violations]\n else\n |\n/builds/pipelines/test/to/src/key9part2.c:31:10: warning: code should be clang-formatted [-Wclang-format-violations]\n }\n |\n/builds/pipelines/test/to/src/key9part2.c:32:56: warning: code should be clang-formatted [-Wclang-format-violations]\n else if (ch == ' ' || ch == '\\t' || ch == '\\r')\n |\n/builds/pipelines/test/to/src/key9part2.c:34:26: warning: code should be clang-formatted [-Wclang-format-violations]\n if (in_digit)\n |\n/builds/pipelines/test/to/src/key9part2.c:36:32: warning: code should be clang-formatted [-Wclang-format-violations]\n if (*len < LEN)\n |\n/builds/pipelines/test/to/src/key9part2.c:40:36: warning: code should be clang-formatted [-Wclang-format-violations]\n if (digit != 0)\n |\n/builds/pipelines/test/to/src/key9part2.c:42:18: warning: code should be clang-formatted [-Wclang-format-violations]\n }\n |\n/builds/pipelines/test/to/src/key9part2.c:48:10: warning: code should be clang-formatted [-Wclang-format-violations]\n }\n |\n/builds/pipelines/test/to/src/key9part2.c:53:18: warning: code should be clang-formatted [-Wclang-format-violations]\n if (in_digit)\n |\n/builds/pipelines/test/to/src/key9part2.c:55:24: warning: code should be clang-formatted [-Wclang-format-violations]\n if (*len < LEN)\n |\n/builds/pipelines/test/to/src/key9part2.c:59:28: warning: code should be clang-formatted [-Wclang-format-violations]\n if (digit != 0)\n |\n/builds/pipelines/test/to/src/key9part2.c:61:10: warning: code should be clang-formatted [-Wclang-format-violations]\n }\n |\n/builds/pipelines/test/to/src/key9part2.c:69:36: warning: code should be clang-formatted [-Wclang-format-violations]\nvoid normalize(int *buff, int *len)\n |\n/builds/pipelines/test/to/src/key9part2.c:73:41: warning: code should be clang-formatted [-Wclang-format-violations]\n while (i < *len - 1 && buff[i] == 0)\n |\n/builds/pipelines/test/to/src/key9part2.c:76:15: warning: code should be clang-formatted [-Wclang-format-violations]\n if (i > 0)\n |\n/builds/pipelines/test/to/src/key9part2.c:79:39: warning: code should be clang-formatted [-Wclang-format-violations]\n for (int j = 0; j < *len; j++)\n |\n/builds/pipelines/test/to/src/key9part2.c:84:32: warning: code should be clang-formatted [-Wclang-format-violations]\nvoid output(int *buff, int len)\n |\n/builds/pipelines/test/to/src/key9part2.c:86:34: warning: code should be clang-formatted [-Wclang-format-violations]\n for (int i = 0; i < len; i++)\n |\n/builds/pipelines/test/to/src/key9part2.c:88:19: warning: code should be clang-formatted [-Wclang-format-violations]\n if (i > 0)\n |\n/builds/pipelines/test/to/src/key9part2.c:95:53: warning: code should be clang-formatted [-Wclang-format-violations]\nvoid sum(int *buff1, int len1, int *buff2, int len2,\n |\n/builds/pipelines/test/to/src/key9part2.c:96:42: warning: code should be clang-formatted [-Wclang-format-violations]\n int *result, int *result_length)\n |\n/builds/pipelines/test/to/src/key9part2.c:105:42: warning: code should be clang-formatted [-Wclang-format-violations]\n while (i >= 0 || j >= 0 || carry > 0)\n |\n/builds/pipelines/test/to/src/key9part2.c:109:20: warning: code should be clang-formatted [-Wclang-format-violations]\n if (i >= 0)\n |\n/builds/pipelines/test/to/src/key9part2.c:111:20: warning: code should be clang-formatted [-Wclang-format-violations]\n if (j >= 0)\n |\n/builds/pipelines/test/to/src/key9part2.c:120:34: warning: code should be clang-formatted [-Wclang-format-violations]\n for (int k = 0; k < len; k++)\n |\n/builds/pipelines/test/to/src/key9part2.c:124:53: warning: code should be clang-formatted [-Wclang-format-violations]\nvoid sub(int *buff1, int len1, int *buff2, int len2,\n |\n/builds/pipelines/test/to/src/key9part2.c:125:42: warning: code should be clang-formatted [-Wclang-format-violations]\n int *result, int *result_length)\n |\n/builds/pipelines/test/to/src/key9part2.c:134:21: warning: code should be clang-formatted [-Wclang-format-violations]\n if (len1 < len2)\n |\n/builds/pipelines/test/to/src/key9part2.c:140:22: warning: code should be clang-formatted [-Wclang-format-violations]\n if (len1 == len2)\n |\n/builds/pipelines/test/to/src/key9part2.c:142:35: warning: code should be clang-formatted [-Wclang-format-violations]\n for (i = 0; i < len1; i++)\n |\n/builds/pipelines/test/to/src/key9part2.c:144:37: warning: code should be clang-formatted [-Wclang-format-violations]\n if (buff1[i] < buff2[i])\n |\n/builds/pipelines/test/to/src/key9part2.c:149:37: warning: code should be clang-formatted [-Wclang-format-violations]\n if (buff1[i] > buff2[i])\n |\n/builds/pipelines/test/to/src/key9part2.c:157:19: warning: code should be clang-formatted [-Wclang-format-violations]\n while (i >= 0)\n |\n/builds/pipelines/test/to/src/key9part2.c:161:20: warning: code should be clang-formatted [-Wclang-format-violations]\n if (j >= 0)\n |\n/builds/pipelines/test/to/src/key9part2.c:166:23: warning: code should be clang-formatted [-Wclang-format-violations]\n if (digit < 0)\n |\n/builds/pipelines/test/to/src/key9part2.c:177:42: warning: code should be clang-formatted [-Wclang-format-violations]\n while (len > 1 && temp[len - 1] == 0)\n |\n/builds/pipelines/test/to/src/key9part2.c:182:34: warning: code should be clang-formatted [-Wclang-format-violations]\n for (int k = 0; k < len; k++)\n |\n/builds/pipelines/test/to/src/key9part2.c:186:15: warning: code should be clang-formatted [-Wclang-format-violations]\nint main(void)\n |\n/builds/pipelines/test/to/src/key9part2.c:195:54: warning: code should be clang-formatted [-Wclang-format-violations]\n if (!input(buff1, &len1) || !input(buff2, &len2))\n |\n"
Style test: FAIL 0
Style test result: 0
-------------------------------------------------------------------------------
Build output:
Project build: OK 1
Build result: 1
-------------------------------------------------------------------------------
Test number: 6, name: Quest_2
Test output: Result for test with number 6: OK 1
Test result: 0
-------------------------------------------------------------------------------
Test number: 7, name: Quest_2
Test output: Result for test with number 7: OK 1
Test result: 0
-------------------------------------------------------------------------------
Test number: 8, name: Quest_2
Test output: Result for test with number 8: FAIL 0
Test result: 0
-------------------------------------------------------------------------------
Test number: 9, name: Quest_2
Test output: Result for test with number 9: OK 1
Test result: 0
-------------------------------------------------------------------------------
Test number: 10, name: Quest_2
Test output: Result for test with number 10: OK 1
Test result: 0
-------------------------------------------------------------------------------
Test number: 11, name: Quest_2
Test output: Result for test with number 11: OK 1
Test result: 0
-------------------------------------------------------------------------------
Test number: 12, name: Quest_2
Test output: Result for test with number 12: OK 1
Test result: 0
-------------------------------------------------------------------------------
Test number: 13, name: Quest_2
Test output: Result for test with number 13: OK 1
Test result: 0
-------------------------------------------------------------------------------
Quest_3
Style test
Style test output:
b"/builds/pipelines/test/to/src/key9part2.c:10:31: warning: code should be clang-formatted [-Wclang-format-violations]\nint input(int *buff, int *len)\n |\n/builds/pipelines/test/to/src/key9part2.c:20:50: warning: code should be clang-formatted [-Wclang-format-violations]\n while ((ch = getchar()) != '\\n' && ch != EOF)\n |\n/builds/pipelines/test/to/src/key9part2.c:22:36: warning: code should be clang-formatted [-Wclang-format-violations]\n if (ch >= '0' && ch <= '9')\n |\n/builds/pipelines/test/to/src/key9part2.c:26:17: warning: code should be clang-formatted [-Wclang-format-violations]\n else\n |\n/builds/pipelines/test/to/src/key9part2.c:31:10: warning: code should be clang-formatted [-Wclang-format-violations]\n }\n |\n/builds/pipelines/test/to/src/key9part2.c:32:56: warning: code should be clang-formatted [-Wclang-format-violations]\n else if (ch == ' ' || ch == '\\t' || ch == '\\r')\n |\n/builds/pipelines/test/to/src/key9part2.c:34:26: warning: code should be clang-formatted [-Wclang-format-violations]\n if (in_digit)\n |\n/builds/pipelines/test/to/src/key9part2.c:36:32: warning: code should be clang-formatted [-Wclang-format-violations]\n if (*len < LEN)\n |\n/builds/pipelines/test/to/src/key9part2.c:40:36: warning: code should be clang-formatted [-Wclang-format-violations]\n if (digit != 0)\n |\n/builds/pipelines/test/to/src/key9part2.c:42:18: warning: code should be clang-formatted [-Wclang-format-violations]\n }\n |\n/builds/pipelines/test/to/src/key9part2.c:48:10: warning: code should be clang-formatted [-Wclang-format-violations]\n }\n |\n/builds/pipelines/test/to/src/key9part2.c:53:18: warning: code should be clang-formatted [-Wclang-format-violations]\n if (in_digit)\n |\n/builds/pipelines/test/to/src/key9part2.c:55:24: warning: code should be clang-formatted [-Wclang-format-violations]\n if (*len < LEN)\n |\n/builds/pipelines/test/to/src/key9part2.c:59:28: warning: code should be clang-formatted [-Wclang-format-violations]\n if (digit != 0)\n |\n/builds/pipelines/test/to/src/key9part2.c:61:10: warning: code should be clang-formatted [-Wclang-format-violations]\n }\n |\n/builds/pipelines/test/to/src/key9part2.c:69:36: warning: code should be clang-formatted [-Wclang-format-violations]\nvoid normalize(int *buff, int *len)\n |\n/builds/pipelines/test/to/src/key9part2.c:73:41: warning: code should be clang-formatted [-Wclang-format-violations]\n while (i < *len - 1 && buff[i] == 0)\n |\n/builds/pipelines/test/to/src/key9part2.c:76:15: warning: code should be clang-formatted [-Wclang-format-violations]\n if (i > 0)\n |\n/builds/pipelines/test/to/src/key9part2.c:79:39: warning: code should be clang-formatted [-Wclang-format-violations]\n for (int j = 0; j < *len; j++)\n |\n/builds/pipelines/test/to/src/key9part2.c:84:32: warning: code should be clang-formatted [-Wclang-format-violations]\nvoid output(int *buff, int len)\n |\n/builds/pipelines/test/to/src/key9part2.c:86:34: warning: code should be clang-formatted [-Wclang-format-violations]\n for (int i = 0; i < len; i++)\n |\n/builds/pipelines/test/to/src/key9part2.c:88:19: warning: code should be clang-formatted [-Wclang-format-violations]\n if (i > 0)\n |\n/builds/pipelines/test/to/src/key9part2.c:95:53: warning: code should be clang-formatted [-Wclang-format-violations]\nvoid sum(int *buff1, int len1, int *buff2, int len2,\n |\n/builds/pipelines/test/to/src/key9part2.c:96:42: warning: code should be clang-formatted [-Wclang-format-violations]\n int *result, int *result_length)\n |\n/builds/pipelines/test/to/src/key9part2.c:105:42: warning: code should be clang-formatted [-Wclang-format-violations]\n while (i >= 0 || j >= 0 || carry > 0)\n |\n/builds/pipelines/test/to/src/key9part2.c:109:20: warning: code should be clang-formatted [-Wclang-format-violations]\n if (i >= 0)\n |\n/builds/pipelines/test/to/src/key9part2.c:111:20: warning: code should be clang-formatted [-Wclang-format-violations]\n if (j >= 0)\n |\n/builds/pipelines/test/to/src/key9part2.c:120:34: warning: code should be clang-formatted [-Wclang-format-violations]\n for (int k = 0; k < len; k++)\n |\n/builds/pipelines/test/to/src/key9part2.c:124:53: warning: code should be clang-formatted [-Wclang-format-violations]\nvoid sub(int *buff1, int len1, int *buff2, int len2,\n |\n/builds/pipelines/test/to/src/key9part2.c:125:42: warning: code should be clang-formatted [-Wclang-format-violations]\n int *result, int *result_length)\n |\n/builds/pipelines/test/to/src/key9part2.c:134:21: warning: code should be clang-formatted [-Wclang-format-violations]\n if (len1 < len2)\n |\n/builds/pipelines/test/to/src/key9part2.c:140:22: warning: code should be clang-formatted [-Wclang-format-violations]\n if (len1 == len2)\n |\n/builds/pipelines/test/to/src/key9part2.c:142:35: warning: code should be clang-formatted [-Wclang-format-violations]\n for (i = 0; i < len1; i++)\n |\n/builds/pipelines/test/to/src/key9part2.c:144:37: warning: code should be clang-formatted [-Wclang-format-violations]\n if (buff1[i] < buff2[i])\n |\n/builds/pipelines/test/to/src/key9part2.c:149:37: warning: code should be clang-formatted [-Wclang-format-violations]\n if (buff1[i] > buff2[i])\n |\n/builds/pipelines/test/to/src/key9part2.c:157:19: warning: code should be clang-formatted [-Wclang-format-violations]\n while (i >= 0)\n |\n/builds/pipelines/test/to/src/key9part2.c:161:20: warning: code should be clang-formatted [-Wclang-format-violations]\n if (j >= 0)\n |\n/builds/pipelines/test/to/src/key9part2.c:166:23: warning: code should be clang-formatted [-Wclang-format-violations]\n if (digit < 0)\n |\n/builds/pipelines/test/to/src/key9part2.c:177:42: warning: code should be clang-formatted [-Wclang-format-violations]\n while (len > 1 && temp[len - 1] == 0)\n |\n/builds/pipelines/test/to/src/key9part2.c:182:34: warning: code should be clang-formatted [-Wclang-format-violations]\n for (int k = 0; k < len; k++)\n |\n/builds/pipelines/test/to/src/key9part2.c:186:15: warning: code should be clang-formatted [-Wclang-format-violations]\nint main(void)\n |\n/builds/pipelines/test/to/src/key9part2.c:195:54: warning: code should be clang-formatted [-Wclang-format-violations]\n if (!input(buff1, &len1) || !input(buff2, &len2))\n |\n"
Style test: FAIL 0
Style test result: 0
-------------------------------------------------------------------------------
Build output:
Project build: OK 1
Build result: 1
-------------------------------------------------------------------------------
Test number: 14, name: Quest_3
Test output: Result for test with number 14: OK 1
Test result: 0
-------------------------------------------------------------------------------
Test number: 15, name: Quest_3
Test output: Result for test with number 15: OK 1
Test result: 0
-------------------------------------------------------------------------------
Test number: 16, name: Quest_3
Test output: Result for test with number 16: OK 1
Test result: 0
-------------------------------------------------------------------------------
Test number: 17, name: Quest_3
Test output: Result for test with number 17: OK 1
Test result: 0
-------------------------------------------------------------------------------
Test number: 18, name: Quest_3
Test output: Result for test with number 18: OK 1
Test result: 0
-------------------------------------------------------------------------------
Test number: 19, name: Quest_3
Test output: Result for test with number 19: OK 1
Test result: 0
-------------------------------------------------------------------------------
Quest_4
Style test
Style test output:
b"/builds/pipelines/test/to/src/key9part2.c:10:31: warning: code should be clang-formatted [-Wclang-format-violations]\nint input(int *buff, int *len)\n |\n/builds/pipelines/test/to/src/key9part2.c:20:50: warning: code should be clang-formatted [-Wclang-format-violations]\n while ((ch = getchar()) != '\\n' && ch != EOF)\n |\n/builds/pipelines/test/to/src/key9part2.c:22:36: warning: code should be clang-formatted [-Wclang-format-violations]\n if (ch >= '0' && ch <= '9')\n |\n/builds/pipelines/test/to/src/key9part2.c:26:17: warning: code should be clang-formatted [-Wclang-format-violations]\n else\n |\n/builds/pipelines/test/to/src/key9part2.c:31:10: warning: code should be clang-formatted [-Wclang-format-violations]\n }\n |\n/builds/pipelines/test/to/src/key9part2.c:32:56: warning: code should be clang-formatted [-Wclang-format-violations]\n else if (ch == ' ' || ch == '\\t' || ch == '\\r')\n |\n/builds/pipelines/test/to/src/key9part2.c:34:26: warning: code should be clang-formatted [-Wclang-format-violations]\n if (in_digit)\n |\n/builds/pipelines/test/to/src/key9part2.c:36:32: warning: code should be clang-formatted [-Wclang-format-violations]\n if (*len < LEN)\n |\n/builds/pipelines/test/to/src/key9part2.c:40:36: warning: code should be clang-formatted [-Wclang-format-violations]\n if (digit != 0)\n |\n/builds/pipelines/test/to/src/key9part2.c:42:18: warning: code should be clang-formatted [-Wclang-format-violations]\n }\n |\n/builds/pipelines/test/to/src/key9part2.c:48:10: warning: code should be clang-formatted [-Wclang-format-violations]\n }\n |\n/builds/pipelines/test/to/src/key9part2.c:53:18: warning: code should be clang-formatted [-Wclang-format-violations]\n if (in_digit)\n |\n/builds/pipelines/test/to/src/key9part2.c:55:24: warning: code should be clang-formatted [-Wclang-format-violations]\n if (*len < LEN)\n |\n/builds/pipelines/test/to/src/key9part2.c:59:28: warning: code should be clang-formatted [-Wclang-format-violations]\n if (digit != 0)\n |\n/builds/pipelines/test/to/src/key9part2.c:61:10: warning: code should be clang-formatted [-Wclang-format-violations]\n }\n |\n/builds/pipelines/test/to/src/key9part2.c:69:36: warning: code should be clang-formatted [-Wclang-format-violations]\nvoid normalize(int *buff, int *len)\n |\n/builds/pipelines/test/to/src/key9part2.c:73:41: warning: code should be clang-formatted [-Wclang-format-violations]\n while (i < *len - 1 && buff[i] == 0)\n |\n/builds/pipelines/test/to/src/key9part2.c:76:15: warning: code should be clang-formatted [-Wclang-format-violations]\n if (i > 0)\n |\n/builds/pipelines/test/to/src/key9part2.c:79:39: warning: code should be clang-formatted [-Wclang-format-violations]\n for (int j = 0; j < *len; j++)\n |\n/builds/pipelines/test/to/src/key9part2.c:84:32: warning: code should be clang-formatted [-Wclang-format-violations]\nvoid output(int *buff, int len)\n |\n/builds/pipelines/test/to/src/key9part2.c:86:34: warning: code should be clang-formatted [-Wclang-format-violations]\n for (int i = 0; i < len; i++)\n |\n/builds/pipelines/test/to/src/key9part2.c:88:19: warning: code should be clang-formatted [-Wclang-format-violations]\n if (i > 0)\n |\n/builds/pipelines/test/to/src/key9part2.c:95:53: warning: code should be clang-formatted [-Wclang-format-violations]\nvoid sum(int *buff1, int len1, int *buff2, int len2,\n |\n/builds/pipelines/test/to/src/key9part2.c:96:42: warning: code should be clang-formatted [-Wclang-format-violations]\n int *result, int *result_length)\n |\n/builds/pipelines/test/to/src/key9part2.c:105:42: warning: code should be clang-formatted [-Wclang-format-violations]\n while (i >= 0 || j >= 0 || carry > 0)\n |\n/builds/pipelines/test/to/src/key9part2.c:109:20: warning: code should be clang-formatted [-Wclang-format-violations]\n if (i >= 0)\n |\n/builds/pipelines/test/to/src/key9part2.c:111:20: warning: code should be clang-formatted [-Wclang-format-violations]\n if (j >= 0)\n |\n/builds/pipelines/test/to/src/key9part2.c:120:34: warning: code should be clang-formatted [-Wclang-format-violations]\n for (int k = 0; k < len; k++)\n |\n/builds/pipelines/test/to/src/key9part2.c:124:53: warning: code should be clang-formatted [-Wclang-format-violations]\nvoid sub(int *buff1, int len1, int *buff2, int len2,\n |\n/builds/pipelines/test/to/src/key9part2.c:125:42: warning: code should be clang-formatted [-Wclang-format-violations]\n int *result, int *result_length)\n |\n/builds/pipelines/test/to/src/key9part2.c:134:21: warning: code should be clang-formatted [-Wclang-format-violations]\n if (len1 < len2)\n |\n/builds/pipelines/test/to/src/key9part2.c:140:22: warning: code should be clang-formatted [-Wclang-format-violations]\n if (len1 == len2)\n |\n/builds/pipelines/test/to/src/key9part2.c:142:35: warning: code should be clang-formatted [-Wclang-format-violations]\n for (i = 0; i < len1; i++)\n |\n/builds/pipelines/test/to/src/key9part2.c:144:37: warning: code should be clang-formatted [-Wclang-format-violations]\n if (buff1[i] < buff2[i])\n |\n/builds/pipelines/test/to/src/key9part2.c:149:37: warning: code should be clang-formatted [-Wclang-format-violations]\n if (buff1[i] > buff2[i])\n |\n/builds/pipelines/test/to/src/key9part2.c:157:19: warning: code should be clang-formatted [-Wclang-format-violations]\n while (i >= 0)\n |\n/builds/pipelines/test/to/src/key9part2.c:161:20: warning: code should be clang-formatted [-Wclang-format-violations]\n if (j >= 0)\n |\n/builds/pipelines/test/to/src/key9part2.c:166:23: warning: code should be clang-formatted [-Wclang-format-violations]\n if (digit < 0)\n |\n/builds/pipelines/test/to/src/key9part2.c:177:42: warning: code should be clang-formatted [-Wclang-format-violations]\n while (len > 1 && temp[len - 1] == 0)\n |\n/builds/pipelines/test/to/src/key9part2.c:182:34: warning: code should be clang-formatted [-Wclang-format-violations]\n for (int k = 0; k < len; k++)\n |\n/builds/pipelines/test/to/src/key9part2.c:186:15: warning: code should be clang-formatted [-Wclang-format-violations]\nint main(void)\n |\n/builds/pipelines/test/to/src/key9part2.c:195:54: warning: code should be clang-formatted [-Wclang-format-violations]\n if (!input(buff1, &len1) || !input(buff2, &len2))\n |\n"
Style test: FAIL 0
Style test result: 0
-------------------------------------------------------------------------------
Build output:
Project build: OK 1
Build result: 1
-------------------------------------------------------------------------------
Test number: 20, name: Quest_4
Test output: Result for test with number 20: OK 1
Test result: 0
-------------------------------------------------------------------------------
Test number: 21, name: Quest_4
Test output: Result for test with number 21: OK 1
Test result: 0
-------------------------------------------------------------------------------
Test number: 22, name: Quest_4
Test output: Result for test with number 22: FAIL 0
Test result: 0
-------------------------------------------------------------------------------
Test number: 23, name: Quest_4
Test output: Result for test with number 23: OK 1
Test result: 0
-------------------------------------------------------------------------------
Test number: 24, name: Quest_4
Test output: Result for test with number 24: OK 1
Test result: 0
-------------------------------------------------------------------------------
Test number: 25, name: Quest_4
Test output: Result for test with number 25: OK 1
Test result: 0
-------------------------------------------------------------------------------
Test number: 26, name: Quest_4
Test output: Result for test with number 26: OK 1
Test result: 0
-------------------------------------------------------------------------------
Test number: 27, name: Quest_4
Test output: Result for test with number 27: OK 1
Test result: 0
-------------------------------------------------------------------------------
Quest_5
Style test
Style test output:
b"/builds/pipelines/test/to/src/key9part2.c:10:31: warning: code should be clang-formatted [-Wclang-format-violations]\nint input(int *buff, int *len)\n |\n/builds/pipelines/test/to/src/key9part2.c:20:50: warning: code should be clang-formatted [-Wclang-format-violations]\n while ((ch = getchar()) != '\\n' && ch != EOF)\n |\n/builds/pipelines/test/to/src/key9part2.c:22:36: warning: code should be clang-formatted [-Wclang-format-violations]\n if (ch >= '0' && ch <= '9')\n |\n/builds/pipelines/test/to/src/key9part2.c:26:17: warning: code should be clang-formatted [-Wclang-format-violations]\n else\n |\n/builds/pipelines/test/to/src/key9part2.c:31:10: warning: code should be clang-formatted [-Wclang-format-violations]\n }\n |\n/builds/pipelines/test/to/src/key9part2.c:32:56: warning: code should be clang-formatted [-Wclang-format-violations]\n else if (ch == ' ' || ch == '\\t' || ch == '\\r')\n |\n/builds/pipelines/test/to/src/key9part2.c:34:26: warning: code should be clang-formatted [-Wclang-format-violations]\n if (in_digit)\n |\n/builds/pipelines/test/to/src/key9part2.c:36:32: warning: code should be clang-formatted [-Wclang-format-violations]\n if (*len < LEN)\n |\n/builds/pipelines/test/to/src/key9part2.c:40:36: warning: code should be clang-formatted [-Wclang-format-violations]\n if (digit != 0)\n |\n/builds/pipelines/test/to/src/key9part2.c:42:18: warning: code should be clang-formatted [-Wclang-format-violations]\n }\n |\n/builds/pipelines/test/to/src/key9part2.c:48:10: warning: code should be clang-formatted [-Wclang-format-violations]\n }\n |\n/builds/pipelines/test/to/src/key9part2.c:53:18: warning: code should be clang-formatted [-Wclang-format-violations]\n if (in_digit)\n |\n/builds/pipelines/test/to/src/key9part2.c:55:24: warning: code should be clang-formatted [-Wclang-format-violations]\n if (*len < LEN)\n |\n/builds/pipelines/test/to/src/key9part2.c:59:28: warning: code should be clang-formatted [-Wclang-format-violations]\n if (digit != 0)\n |\n/builds/pipelines/test/to/src/key9part2.c:61:10: warning: code should be clang-formatted [-Wclang-format-violations]\n }\n |\n/builds/pipelines/test/to/src/key9part2.c:69:36: warning: code should be clang-formatted [-Wclang-format-violations]\nvoid normalize(int *buff, int *len)\n |\n/builds/pipelines/test/to/src/key9part2.c:73:41: warning: code should be clang-formatted [-Wclang-format-violations]\n while (i < *len - 1 && buff[i] == 0)\n |\n/builds/pipelines/test/to/src/key9part2.c:76:15: warning: code should be clang-formatted [-Wclang-format-violations]\n if (i > 0)\n |\n/builds/pipelines/test/to/src/key9part2.c:79:39: warning: code should be clang-formatted [-Wclang-format-violations]\n for (int j = 0; j < *len; j++)\n |\n/builds/pipelines/test/to/src/key9part2.c:84:32: warning: code should be clang-formatted [-Wclang-format-violations]\nvoid output(int *buff, int len)\n |\n/builds/pipelines/test/to/src/key9part2.c:86:34: warning: code should be clang-formatted [-Wclang-format-violations]\n for (int i = 0; i < len; i++)\n |\n/builds/pipelines/test/to/src/key9part2.c:88:19: warning: code should be clang-formatted [-Wclang-format-violations]\n if (i > 0)\n |\n/builds/pipelines/test/to/src/key9part2.c:95:53: warning: code should be clang-formatted [-Wclang-format-violations]\nvoid sum(int *buff1, int len1, int *buff2, int len2,\n |\n/builds/pipelines/test/to/src/key9part2.c:96:42: warning: code should be clang-formatted [-Wclang-format-violations]\n int *result, int *result_length)\n |\n/builds/pipelines/test/to/src/key9part2.c:105:42: warning: code should be clang-formatted [-Wclang-format-violations]\n while (i >= 0 || j >= 0 || carry > 0)\n |\n/builds/pipelines/test/to/src/key9part2.c:109:20: warning: code should be clang-formatted [-Wclang-format-violations]\n if (i >= 0)\n |\n/builds/pipelines/test/to/src/key9part2.c:111:20: warning: code should be clang-formatted [-Wclang-format-violations]\n if (j >= 0)\n |\n/builds/pipelines/test/to/src/key9part2.c:120:34: warning: code should be clang-formatted [-Wclang-format-violations]\n for (int k = 0; k < len; k++)\n |\n/builds/pipelines/test/to/src/key9part2.c:124:53: warning: code should be clang-formatted [-Wclang-format-violations]\nvoid sub(int *buff1, int len1, int *buff2, int len2,\n |\n/builds/pipelines/test/to/src/key9part2.c:125:42: warning: code should be clang-formatted [-Wclang-format-violations]\n int *result, int *result_length)\n |\n/builds/pipelines/test/to/src/key9part2.c:134:21: warning: code should be clang-formatted [-Wclang-format-violations]\n if (len1 < len2)\n |\n/builds/pipelines/test/to/src/key9part2.c:140:22: warning: code should be clang-formatted [-Wclang-format-violations]\n if (len1 == len2)\n |\n/builds/pipelines/test/to/src/key9part2.c:142:35: warning: code should be clang-formatted [-Wclang-format-violations]\n for (i = 0; i < len1; i++)\n |\n/builds/pipelines/test/to/src/key9part2.c:144:37: warning: code should be clang-formatted [-Wclang-format-violations]\n if (buff1[i] < buff2[i])\n |\n/builds/pipelines/test/to/src/key9part2.c:149:37: warning: code should be clang-formatted [-Wclang-format-violations]\n if (buff1[i] > buff2[i])\n |\n/builds/pipelines/test/to/src/key9part2.c:157:19: warning: code should be clang-formatted [-Wclang-format-violations]\n while (i >= 0)\n |\n/builds/pipelines/test/to/src/key9part2.c:161:20: warning: code should be clang-formatted [-Wclang-format-violations]\n if (j >= 0)\n |\n/builds/pipelines/test/to/src/key9part2.c:166:23: warning: code should be clang-formatted [-Wclang-format-violations]\n if (digit < 0)\n |\n/builds/pipelines/test/to/src/key9part2.c:177:42: warning: code should be clang-formatted [-Wclang-format-violations]\n while (len > 1 && temp[len - 1] == 0)\n |\n/builds/pipelines/test/to/src/key9part2.c:182:34: warning: code should be clang-formatted [-Wclang-format-violations]\n for (int k = 0; k < len; k++)\n |\n/builds/pipelines/test/to/src/key9part2.c:186:15: warning: code should be clang-formatted [-Wclang-format-violations]\nint main(void)\n |\n/builds/pipelines/test/to/src/key9part2.c:195:54: warning: code should be clang-formatted [-Wclang-format-violations]\n if (!input(buff1, &len1) || !input(buff2, &len2))\n |\n"
Style test: FAIL 0
Style test result: 0
-------------------------------------------------------------------------------
Build output:
Project build: OK 1
Build result: 1
-------------------------------------------------------------------------------
Test number: 28, name: Quest_5
Test output: Result for test with number 28: OK 1
Test result: 0
-------------------------------------------------------------------------------
Test number: 29, name: Quest_5
Test output: Result for test with number 29: OK 1
Test result: 0
-------------------------------------------------------------------------------
Test number: 30, name: Quest_5
Test output: Result for test with number 30: OK 1
Test result: 0
-------------------------------------------------------------------------------
Test number: 31, name: Quest_5
Test output: Result for test with number 31: OK 1
Test result: 0
-------------------------------------------------------------------------------
Test number: 32, name: Quest_5
Test output: Result for test with number 32: OK 1
Test result: 0
-------------------------------------------------------------------------------
Test number: 33, name: Quest_5
Test output: Result for test with number 33: OK 1
Test result: 0
-------------------------------------------------------------------------------
Test number: 34, name: Quest_5
Test output: Result for test with number 34: OK 1
Test result: 0
-------------------------------------------------------------------------------
Test number: 35, name: Quest_5
Test output: Result for test with number 35: OK 1
Test result: 0
-------------------------------------------------------------------------------
Quest_6
Style test
Style test output:
b"/builds/pipelines/test/to/src/key9part2.c:10:31: warning: code should be clang-formatted [-Wclang-format-violations]\nint input(int *buff, int *len)\n |\n/builds/pipelines/test/to/src/key9part2.c:20:50: warning: code should be clang-formatted [-Wclang-format-violations]\n while ((ch = getchar()) != '\\n' && ch != EOF)\n |\n/builds/pipelines/test/to/src/key9part2.c:22:36: warning: code should be clang-formatted [-Wclang-format-violations]\n if (ch >= '0' && ch <= '9')\n |\n/builds/pipelines/test/to/src/key9part2.c:26:17: warning: code should be clang-formatted [-Wclang-format-violations]\n else\n |\n/builds/pipelines/test/to/src/key9part2.c:31:10: warning: code should be clang-formatted [-Wclang-format-violations]\n }\n |\n/builds/pipelines/test/to/src/key9part2.c:32:56: warning: code should be clang-formatted [-Wclang-format-violations]\n else if (ch == ' ' || ch == '\\t' || ch == '\\r')\n |\n/builds/pipelines/test/to/src/key9part2.c:34:26: warning: code should be clang-formatted [-Wclang-format-violations]\n if (in_digit)\n |\n/builds/pipelines/test/to/src/key9part2.c:36:32: warning: code should be clang-formatted [-Wclang-format-violations]\n if (*len < LEN)\n |\n/builds/pipelines/test/to/src/key9part2.c:40:36: warning: code should be clang-formatted [-Wclang-format-violations]\n if (digit != 0)\n |\n/builds/pipelines/test/to/src/key9part2.c:42:18: warning: code should be clang-formatted [-Wclang-format-violations]\n }\n |\n/builds/pipelines/test/to/src/key9part2.c:48:10: warning: code should be clang-formatted [-Wclang-format-violations]\n }\n |\n/builds/pipelines/test/to/src/key9part2.c:53:18: warning: code should be clang-formatted [-Wclang-format-violations]\n if (in_digit)\n |\n/builds/pipelines/test/to/src/key9part2.c:55:24: warning: code should be clang-formatted [-Wclang-format-violations]\n if (*len < LEN)\n |\n/builds/pipelines/test/to/src/key9part2.c:59:28: warning: code should be clang-formatted [-Wclang-format-violations]\n if (digit != 0)\n |\n/builds/pipelines/test/to/src/key9part2.c:61:10: warning: code should be clang-formatted [-Wclang-format-violations]\n }\n |\n/builds/pipelines/test/to/src/key9part2.c:69:36: warning: code should be clang-formatted [-Wclang-format-violations]\nvoid normalize(int *buff, int *len)\n |\n/builds/pipelines/test/to/src/key9part2.c:73:41: warning: code should be clang-formatted [-Wclang-format-violations]\n while (i < *len - 1 && buff[i] == 0)\n |\n/builds/pipelines/test/to/src/key9part2.c:76:15: warning: code should be clang-formatted [-Wclang-format-violations]\n if (i > 0)\n |\n/builds/pipelines/test/to/src/key9part2.c:79:39: warning: code should be clang-formatted [-Wclang-format-violations]\n for (int j = 0; j < *len; j++)\n |\n/builds/pipelines/test/to/src/key9part2.c:84:32: warning: code should be clang-formatted [-Wclang-format-violations]\nvoid output(int *buff, int len)\n |\n/builds/pipelines/test/to/src/key9part2.c:86:34: warning: code should be clang-formatted [-Wclang-format-violations]\n for (int i = 0; i < len; i++)\n |\n/builds/pipelines/test/to/src/key9part2.c:88:19: warning: code should be clang-formatted [-Wclang-format-violations]\n if (i > 0)\n |\n/builds/pipelines/test/to/src/key9part2.c:95:53: warning: code should be clang-formatted [-Wclang-format-violations]\nvoid sum(int *buff1, int len1, int *buff2, int len2,\n |\n/builds/pipelines/test/to/src/key9part2.c:96:42: warning: code should be clang-formatted [-Wclang-format-violations]\n int *result, int *result_length)\n |\n/builds/pipelines/test/to/src/key9part2.c:105:42: warning: code should be clang-formatted [-Wclang-format-violations]\n while (i >= 0 || j >= 0 || carry > 0)\n |\n/builds/pipelines/test/to/src/key9part2.c:109:20: warning: code should be clang-formatted [-Wclang-format-violations]\n if (i >= 0)\n |\n/builds/pipelines/test/to/src/key9part2.c:111:20: warning: code should be clang-formatted [-Wclang-format-violations]\n if (j >= 0)\n |\n/builds/pipelines/test/to/src/key9part2.c:120:34: warning: code should be clang-formatted [-Wclang-format-violations]\n for (int k = 0; k < len; k++)\n |\n/builds/pipelines/test/to/src/key9part2.c:124:53: warning: code should be clang-formatted [-Wclang-format-violations]\nvoid sub(int *buff1, int len1, int *buff2, int len2,\n |\n/builds/pipelines/test/to/src/key9part2.c:125:42: warning: code should be clang-formatted [-Wclang-format-violations]\n int *result, int *result_length)\n |\n/builds/pipelines/test/to/src/key9part2.c:134:21: warning: code should be clang-formatted [-Wclang-format-violations]\n if (len1 < len2)\n |\n/builds/pipelines/test/to/src/key9part2.c:140:22: warning: code should be clang-formatted [-Wclang-format-violations]\n if (len1 == len2)\n |\n/builds/pipelines/test/to/src/key9part2.c:142:35: warning: code should be clang-formatted [-Wclang-format-violations]\n for (i = 0; i < len1; i++)\n |\n/builds/pipelines/test/to/src/key9part2.c:144:37: warning: code should be clang-formatted [-Wclang-format-violations]\n if (buff1[i] < buff2[i])\n |\n/builds/pipelines/test/to/src/key9part2.c:149:37: warning: code should be clang-formatted [-Wclang-format-violations]\n if (buff1[i] > buff2[i])\n |\n/builds/pipelines/test/to/src/key9part2.c:157:19: warning: code should be clang-formatted [-Wclang-format-violations]\n while (i >= 0)\n |\n/builds/pipelines/test/to/src/key9part2.c:161:20: warning: code should be clang-formatted [-Wclang-format-violations]\n if (j >= 0)\n |\n/builds/pipelines/test/to/src/key9part2.c:166:23: warning: code should be clang-formatted [-Wclang-format-violations]\n if (digit < 0)\n |\n/builds/pipelines/test/to/src/key9part2.c:177:42: warning: code should be clang-formatted [-Wclang-format-violations]\n while (len > 1 && temp[len - 1] == 0)\n |\n/builds/pipelines/test/to/src/key9part2.c:182:34: warning: code should be clang-formatted [-Wclang-format-violations]\n for (int k = 0; k < len; k++)\n |\n/builds/pipelines/test/to/src/key9part2.c:186:15: warning: code should be clang-formatted [-Wclang-format-violations]\nint main(void)\n |\n/builds/pipelines/test/to/src/key9part2.c:195:54: warning: code should be clang-formatted [-Wclang-format-violations]\n if (!input(buff1, &len1) || !input(buff2, &len2))\n |\n"
Style test: FAIL 0
Style test result: 0
-------------------------------------------------------------------------------
Build output:
/builds/pipelines/test/to/src/key9part1.c: In function 'find_numbers':
/builds/pipelines/test/to/src/key9part1.c:24:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
24 | {
| ^
/builds/pipelines/test/to/src/key9part1.c:34:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
34 | {
| ^
/builds/pipelines/test/to/src/key9part1.c:55:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
55 | {
| ^
/builds/pipelines/test/to/src/key9part1.c:58: error: expected '{' at end of input
Build failed with exit code 1. 0
Build result: 0
-------------------------------------------------------------------------------
Test output: Build fail
Test result: 0
-------------------------------------------------------------------------------
Quest_7
Style test
Style test output:
b"/builds/pipelines/test/to/src/key9part2.c:10:31: warning: code should be clang-formatted [-Wclang-format-violations]\nint input(int *buff, int *len)\n |\n/builds/pipelines/test/to/src/key9part2.c:20:50: warning: code should be clang-formatted [-Wclang-format-violations]\n while ((ch = getchar()) != '\\n' && ch != EOF)\n |\n/builds/pipelines/test/to/src/key9part2.c:22:36: warning: code should be clang-formatted [-Wclang-format-violations]\n if (ch >= '0' && ch <= '9')\n |\n/builds/pipelines/test/to/src/key9part2.c:26:17: warning: code should be clang-formatted [-Wclang-format-violations]\n else\n |\n/builds/pipelines/test/to/src/key9part2.c:31:10: warning: code should be clang-formatted [-Wclang-format-violations]\n }\n |\n/builds/pipelines/test/to/src/key9part2.c:32:56: warning: code should be clang-formatted [-Wclang-format-violations]\n else if (ch == ' ' || ch == '\\t' || ch == '\\r')\n |\n/builds/pipelines/test/to/src/key9part2.c:34:26: warning: code should be clang-formatted [-Wclang-format-violations]\n if (in_digit)\n |\n/builds/pipelines/test/to/src/key9part2.c:36:32: warning: code should be clang-formatted [-Wclang-format-violations]\n if (*len < LEN)\n |\n/builds/pipelines/test/to/src/key9part2.c:40:36: warning: code should be clang-formatted [-Wclang-format-violations]\n if (digit != 0)\n |\n/builds/pipelines/test/to/src/key9part2.c:42:18: warning: code should be clang-formatted [-Wclang-format-violations]\n }\n |\n/builds/pipelines/test/to/src/key9part2.c:48:10: warning: code should be clang-formatted [-Wclang-format-violations]\n }\n |\n/builds/pipelines/test/to/src/key9part2.c:53:18: warning: code should be clang-formatted [-Wclang-format-violations]\n if (in_digit)\n |\n/builds/pipelines/test/to/src/key9part2.c:55:24: warning: code should be clang-formatted [-Wclang-format-violations]\n if (*len < LEN)\n |\n/builds/pipelines/test/to/src/key9part2.c:59:28: warning: code should be clang-formatted [-Wclang-format-violations]\n if (digit != 0)\n |\n/builds/pipelines/test/to/src/key9part2.c:61:10: warning: code should be clang-formatted [-Wclang-format-violations]\n }\n |\n/builds/pipelines/test/to/src/key9part2.c:69:36: warning: code should be clang-formatted [-Wclang-format-violations]\nvoid normalize(int *buff, int *len)\n |\n/builds/pipelines/test/to/src/key9part2.c:73:41: warning: code should be clang-formatted [-Wclang-format-violations]\n while (i < *len - 1 && buff[i] == 0)\n |\n/builds/pipelines/test/to/src/key9part2.c:76:15: warning: code should be clang-formatted [-Wclang-format-violations]\n if (i > 0)\n |\n/builds/pipelines/test/to/src/key9part2.c:79:39: warning: code should be clang-formatted [-Wclang-format-violations]\n for (int j = 0; j < *len; j++)\n |\n/builds/pipelines/test/to/src/key9part2.c:84:32: warning: code should be clang-formatted [-Wclang-format-violations]\nvoid output(int *buff, int len)\n |\n/builds/pipelines/test/to/src/key9part2.c:86:34: warning: code should be clang-formatted [-Wclang-format-violations]\n for (int i = 0; i < len; i++)\n |\n/builds/pipelines/test/to/src/key9part2.c:88:19: warning: code should be clang-formatted [-Wclang-format-violations]\n if (i > 0)\n |\n/builds/pipelines/test/to/src/key9part2.c:95:53: warning: code should be clang-formatted [-Wclang-format-violations]\nvoid sum(int *buff1, int len1, int *buff2, int len2,\n |\n/builds/pipelines/test/to/src/key9part2.c:96:42: warning: code should be clang-formatted [-Wclang-format-violations]\n int *result, int *result_length)\n |\n/builds/pipelines/test/to/src/key9part2.c:105:42: warning: code should be clang-formatted [-Wclang-format-violations]\n while (i >= 0 || j >= 0 || carry > 0)\n |\n/builds/pipelines/test/to/src/key9part2.c:109:20: warning: code should be clang-formatted [-Wclang-format-violations]\n if (i >= 0)\n |\n/builds/pipelines/test/to/src/key9part2.c:111:20: warning: code should be clang-formatted [-Wclang-format-violations]\n if (j >= 0)\n |\n/builds/pipelines/test/to/src/key9part2.c:120:34: warning: code should be clang-formatted [-Wclang-format-violations]\n for (int k = 0; k < len; k++)\n |\n/builds/pipelines/test/to/src/key9part2.c:124:53: warning: code should be clang-formatted [-Wclang-format-violations]\nvoid sub(int *buff1, int len1, int *buff2, int len2,\n |\n/builds/pipelines/test/to/src/key9part2.c:125:42: warning: code should be clang-formatted [-Wclang-format-violations]\n int *result, int *result_length)\n |\n/builds/pipelines/test/to/src/key9part2.c:134:21: warning: code should be clang-formatted [-Wclang-format-violations]\n if (len1 < len2)\n |\n/builds/pipelines/test/to/src/key9part2.c:140:22: warning: code should be clang-formatted [-Wclang-format-violations]\n if (len1 == len2)\n |\n/builds/pipelines/test/to/src/key9part2.c:142:35: warning: code should be clang-formatted [-Wclang-format-violations]\n for (i = 0; i < len1; i++)\n |\n/builds/pipelines/test/to/src/key9part2.c:144:37: warning: code should be clang-formatted [-Wclang-format-violations]\n if (buff1[i] < buff2[i])\n |\n/builds/pipelines/test/to/src/key9part2.c:149:37: warning: code should be clang-formatted [-Wclang-format-violations]\n if (buff1[i] > buff2[i])\n |\n/builds/pipelines/test/to/src/key9part2.c:157:19: warning: code should be clang-formatted [-Wclang-format-violations]\n while (i >= 0)\n |\n/builds/pipelines/test/to/src/key9part2.c:161:20: warning: code should be clang-formatted [-Wclang-format-violations]\n if (j >= 0)\n |\n/builds/pipelines/test/to/src/key9part2.c:166:23: warning: code should be clang-formatted [-Wclang-format-violations]\n if (digit < 0)\n |\n/builds/pipelines/test/to/src/key9part2.c:177:42: warning: code should be clang-formatted [-Wclang-format-violations]\n while (len > 1 && temp[len - 1] == 0)\n |\n/builds/pipelines/test/to/src/key9part2.c:182:34: warning: code should be clang-formatted [-Wclang-format-violations]\n for (int k = 0; k < len; k++)\n |\n/builds/pipelines/test/to/src/key9part2.c:186:15: warning: code should be clang-formatted [-Wclang-format-violations]\nint main(void)\n |\n/builds/pipelines/test/to/src/key9part2.c:195:54: warning: code should be clang-formatted [-Wclang-format-violations]\n if (!input(buff1, &len1) || !input(buff2, &len2))\n |\n"
Style test: FAIL 0
Style test result: 0
-------------------------------------------------------------------------------
Build output:
Project build: OK 1
Build result: 1
-------------------------------------------------------------------------------
Test number: 43, name: Quest_7
Test output: Result for test with number 43: OK 1
Test result: 0
-------------------------------------------------------------------------------
Test number: 44, name: Quest_7
Test output: Result for test with number 44: OK 1
Test result: 0
-------------------------------------------------------------------------------
Test number: 45, name: Quest_7
Test output: Result for test with number 45: OK 1
Test result: 0
-------------------------------------------------------------------------------
Test number: 46, name: Quest_7
Test output: Result for test with number 46: OK 1
Test result: 0
-------------------------------------------------------------------------------
Test number: 47, name: Quest_7
Test output: Result for test with number 47: OK 1
Test result: 0
-------------------------------------------------------------------------------
Test number: 48, name: Quest_7
Test output: Result for test with number 48: OK 1
Test result: 0
-------------------------------------------------------------------------------
Quest_8
Style test
Style test output:
b"/builds/pipelines/test/to/src/key9part2.c:10:31: warning: code should be clang-formatted [-Wclang-format-violations]\nint input(int *buff, int *len)\n |\n/builds/pipelines/test/to/src/key9part2.c:20:50: warning: code should be clang-formatted [-Wclang-format-violations]\n while ((ch = getchar()) != '\\n' && ch != EOF)\n |\n/builds/pipelines/test/to/src/key9part2.c:22:36: warning: code should be clang-formatted [-Wclang-format-violations]\n if (ch >= '0' && ch <= '9')\n |\n/builds/pipelines/test/to/src/key9part2.c:26:17: warning: code should be clang-formatted [-Wclang-format-violations]\n else\n |\n/builds/pipelines/test/to/src/key9part2.c:31:10: warning: code should be clang-formatted [-Wclang-format-violations]\n }\n |\n/builds/pipelines/test/to/src/key9part2.c:32:56: warning: code should be clang-formatted [-Wclang-format-violations]\n else if (ch == ' ' || ch == '\\t' || ch == '\\r')\n |\n/builds/pipelines/test/to/src/key9part2.c:34:26: warning: code should be clang-formatted [-Wclang-format-violations]\n if (in_digit)\n |\n/builds/pipelines/test/to/src/key9part2.c:36:32: warning: code should be clang-formatted [-Wclang-format-violations]\n if (*len < LEN)\n |\n/builds/pipelines/test/to/src/key9part2.c:40:36: warning: code should be clang-formatted [-Wclang-format-violations]\n if (digit != 0)\n |\n/builds/pipelines/test/to/src/key9part2.c:42:18: warning: code should be clang-formatted [-Wclang-format-violations]\n }\n |\n/builds/pipelines/test/to/src/key9part2.c:48:10: warning: code should be clang-formatted [-Wclang-format-violations]\n }\n |\n/builds/pipelines/test/to/src/key9part2.c:53:18: warning: code should be clang-formatted [-Wclang-format-violations]\n if (in_digit)\n |\n/builds/pipelines/test/to/src/key9part2.c:55:24: warning: code should be clang-formatted [-Wclang-format-violations]\n if (*len < LEN)\n |\n/builds/pipelines/test/to/src/key9part2.c:59:28: warning: code should be clang-formatted [-Wclang-format-violations]\n if (digit != 0)\n |\n/builds/pipelines/test/to/src/key9part2.c:61:10: warning: code should be clang-formatted [-Wclang-format-violations]\n }\n |\n/builds/pipelines/test/to/src/key9part2.c:69:36: warning: code should be clang-formatted [-Wclang-format-violations]\nvoid normalize(int *buff, int *len)\n |\n/builds/pipelines/test/to/src/key9part2.c:73:41: warning: code should be clang-formatted [-Wclang-format-violations]\n while (i < *len - 1 && buff[i] == 0)\n |\n/builds/pipelines/test/to/src/key9part2.c:76:15: warning: code should be clang-formatted [-Wclang-format-violations]\n if (i > 0)\n |\n/builds/pipelines/test/to/src/key9part2.c:79:39: warning: code should be clang-formatted [-Wclang-format-violations]\n for (int j = 0; j < *len; j++)\n |\n/builds/pipelines/test/to/src/key9part2.c:84:32: warning: code should be clang-formatted [-Wclang-format-violations]\nvoid output(int *buff, int len)\n |\n/builds/pipelines/test/to/src/key9part2.c:86:34: warning: code should be clang-formatted [-Wclang-format-violations]\n for (int i = 0; i < len; i++)\n |\n/builds/pipelines/test/to/src/key9part2.c:88:19: warning: code should be clang-formatted [-Wclang-format-violations]\n if (i > 0)\n |\n/builds/pipelines/test/to/src/key9part2.c:95:53: warning: code should be clang-formatted [-Wclang-format-violations]\nvoid sum(int *buff1, int len1, int *buff2, int len2,\n |\n/builds/pipelines/test/to/src/key9part2.c:96:42: warning: code should be clang-formatted [-Wclang-format-violations]\n int *result, int *result_length)\n |\n/builds/pipelines/test/to/src/key9part2.c:105:42: warning: code should be clang-formatted [-Wclang-format-violations]\n while (i >= 0 || j >= 0 || carry > 0)\n |\n/builds/pipelines/test/to/src/key9part2.c:109:20: warning: code should be clang-formatted [-Wclang-format-violations]\n if (i >= 0)\n |\n/builds/pipelines/test/to/src/key9part2.c:111:20: warning: code should be clang-formatted [-Wclang-format-violations]\n if (j >= 0)\n |\n/builds/pipelines/test/to/src/key9part2.c:120:34: warning: code should be clang-formatted [-Wclang-format-violations]\n for (int k = 0; k < len; k++)\n |\n/builds/pipelines/test/to/src/key9part2.c:124:53: warning: code should be clang-formatted [-Wclang-format-violations]\nvoid sub(int *buff1, int len1, int *buff2, int len2,\n |\n/builds/pipelines/test/to/src/key9part2.c:125:42: warning: code should be clang-formatted [-Wclang-format-violations]\n int *result, int *result_length)\n |\n/builds/pipelines/test/to/src/key9part2.c:134:21: warning: code should be clang-formatted [-Wclang-format-violations]\n if (len1 < len2)\n |\n/builds/pipelines/test/to/src/key9part2.c:140:22: warning: code should be clang-formatted [-Wclang-format-violations]\n if (len1 == len2)\n |\n/builds/pipelines/test/to/src/key9part2.c:142:35: warning: code should be clang-formatted [-Wclang-format-violations]\n for (i = 0; i < len1; i++)\n |\n/builds/pipelines/test/to/src/key9part2.c:144:37: warning: code should be clang-formatted [-Wclang-format-violations]\n if (buff1[i] < buff2[i])\n |\n/builds/pipelines/test/to/src/key9part2.c:149:37: warning: code should be clang-formatted [-Wclang-format-violations]\n if (buff1[i] > buff2[i])\n |\n/builds/pipelines/test/to/src/key9part2.c:157:19: warning: code should be clang-formatted [-Wclang-format-violations]\n while (i >= 0)\n |\n/builds/pipelines/test/to/src/key9part2.c:161:20: warning: code should be clang-formatted [-Wclang-format-violations]\n if (j >= 0)\n |\n/builds/pipelines/test/to/src/key9part2.c:166:23: warning: code should be clang-formatted [-Wclang-format-violations]\n if (digit < 0)\n |\n/builds/pipelines/test/to/src/key9part2.c:177:42: warning: code should be clang-formatted [-Wclang-format-violations]\n while (len > 1 && temp[len - 1] == 0)\n |\n/builds/pipelines/test/to/src/key9part2.c:182:34: warning: code should be clang-formatted [-Wclang-format-violations]\n for (int k = 0; k < len; k++)\n |\n/builds/pipelines/test/to/src/key9part2.c:186:15: warning: code should be clang-formatted [-Wclang-format-violations]\nint main(void)\n |\n/builds/pipelines/test/to/src/key9part2.c:195:54: warning: code should be clang-formatted [-Wclang-format-violations]\n if (!input(buff1, &len1) || !input(buff2, &len2))\n |\n"
Style test: FAIL 0
Style test result: 0
-------------------------------------------------------------------------------
Build output:
Project build: OK 1
Build result: 1
-------------------------------------------------------------------------------
Test number: 49, name: Quest_8
Test output: Result for test with number 49: OK 1
Test result: 0
-------------------------------------------------------------------------------
Test number: 50, name: Quest_8
Test output: Result for test with number 50: OK 1
Test result: 0
-------------------------------------------------------------------------------
Test number: 51, name: Quest_8
Test output: Result for test with number 51: OK 1
Test result: 0
-------------------------------------------------------------------------------
Test number: 52, name: Quest_8
Test output: Result for test with number 52: FAIL 0
Test result: 0
-------------------------------------------------------------------------------
Test number: 53, name: Quest_8
Test output: Result for test with number 53: OK 1
Test result: 0
-------------------------------------------------------------------------------
Test number: 54, name: Quest_8
Test output: Result for test with number 54: OK 1
Test result: 0
-------------------------------------------------------------------------------
Test number: 55, name: Quest_8
Test output: Result for test with number 55: OK 1
Test result: 0
-------------------------------------------------------------------------------
Test number: 56, name: Quest_8
Test output: Result for test with number 56: OK 1
Test result: 0
-------------------------------------------------------------------------------
Test number: 57, name: Quest_8
Test output: Result for test with number 57: OK 1
Test result: 0