diff --git a/seeds/judgels.sql b/seeds/judgels.sql index 8b090f1eb..62ee5ed0c 100644 --- a/seeds/judgels.sql +++ b/seeds/judgels.sql @@ -55,8 +55,8 @@ INSERT INTO `jophiel_user_rating_event` (`time`, `eventJid`, `createdAt`, `creat -- INSERT INTO `uriel_contest` (`jid`, `slug`, `name`, `style`, `description`, `beginTime`, `duration`, `createdAt`, `createdBy`, `updatedAt`, `updatedBy`) VALUES -('JIDCONTYsWkzwPy8wCF3maJfxqN', 'joc-1', 'Judgels Open Contest #1', 'ICPC', '

Welcome to the first Judgels open contest!

\r\n', '2020-01-01 12:00:00.000', 18000000000, '2018-08-05 17:30:35.297', 'JIDUSER7uMucIkm1exJTu7sJvxR', '2018-08-20 15:15:28.710', 'JIDUSER7uMucIkm1exJTu7sJvxR'), -('JIDCONT89YMatMq7GqaPQCyyUHU', 'joc-old', 'Judgels Old Contest', 'IOI', '

This is an old contest.

\r\n', '2018-01-01 00:00:00.000', 18000000, '2018-08-05 18:11:40.024', 'JIDUSER7uMucIkm1exJTu7sJvxR', '2018-08-20 15:35:50.263', 'JIDUSER7uMucIkm1exJTu7sJvxR'), +('JIDCONTYsWkzwPy8wCF3maJfxqN', 'joc-1', 'Judgels Open Contest #1', 'ICPC', '

Welcome to the first Judgels open contest!

\r\n', '2023-10-18 11:00:00.000', 18000000, '2018-08-05 17:30:35.297', 'JIDUSER7uMucIkm1exJTu7sJvxR', '2023-10-18 12:33:04.859', 'JIDUSER7uMucIkm1exJTu7sJvxR'), +('JIDCONT89YMatMq7GqaPQCyyUHU', 'joc-old', 'Judgels Old Contest', 'IOI', '

This is an old contest.

\r\n', '2023-10-18 11:00:00.000', 18000000, '2018-08-05 18:11:40.024', 'JIDUSER7uMucIkm1exJTu7sJvxR', '2023-10-18 12:34:39.013', 'JIDUSER7uMucIkm1exJTu7sJvxR'), ('JIDCONTLaAppdjyu94dGgzpnKqY', 'joq', 'Judgels Open Quiz', 'BUNDLE', '', '2020-01-01 07:00:00.000', 86400000000, '2020-01-18 19:20:22.052', 'JIDUSER7uMucIkm1exJTu7sJvxR', '2020-01-18 19:21:12.435', 'JIDUSER7uMucIkm1exJTu7sJvxR'); -- @@ -123,13 +123,61 @@ INSERT INTO `uriel_contest_problem` (`contestJid`, `problemJid`, `alias`, `submi ('JIDCONTLaAppdjyu94dGgzpnKqY', 'JIDBUNDcdQcvQ4sB6RgNQ9ryOsp', 'A', 0, 'OPEN', '2020-01-18 19:24:07.036', 'JIDUSER7uMucIkm1exJTu7sJvxR', '2020-01-18 19:24:07.036', 'JIDUSER7uMucIkm1exJTu7sJvxR'), ('JIDCONTLaAppdjyu94dGgzpnKqY', 'JIDBUNDKkmglB5WGpSyTTFGScVk', 'B', 0, 'OPEN', '2020-01-18 19:24:07.038', 'JIDUSER7uMucIkm1exJTu7sJvxR', '2020-01-18 19:24:07.038', 'JIDUSER7uMucIkm1exJTu7sJvxR'); +-- +-- Dumping data for table `uriel_contest_programming_grading` +-- + +INSERT INTO `uriel_contest_programming_grading` (`jid`, `submissionJid`, `verdictCode`, `verdictName`, `score`, `details`, `createdAt`, `createdBy`, `updatedAt`, `updatedBy`) VALUES +('JIDGRADFWxN1EMdkAULvNaYs0NX', 'JIDSUBM0B9jV1Iz5lt5gFFhnwl1', '!!!', '', 0, 'java.lang.RuntimeException: Cache sync for grading dir of problem JIDPROGSxtSvuGAW4IKreFasSY0 failed!', '2023-10-18 11:31:47.804', 'JIDUSERP1gi91MNc1XbXLbPx3dq', '2023-10-18 11:31:49.922', NULL), +('JIDGRAD84dQ7THfe7qbvcfAoFKw', 'JIDSUBMd1YBSUNyXA8x9L0YJHz8', 'AC', '', 100, '{\"compilationOutputs\":{\"source\":\"A.cpp: In function \'int main()\':\\nA.cpp:5:14: warning: ignoring return value of \'int scanf(const char*, ...)\' declared with attribute \'warn_unused_result\' [-Wunused-result]\\n 5 | scanf(\\\"%d%d\\\", &a);\\n | ~~~~~^~~~~~~~~~\\n\"},\"testDataResults\":[{\"id\":0,\"testCaseResults\":[{\"verdict\":{\"code\":\"AC\"},\"score\":\"\",\"executionResult\":{\"status\":\"ZERO_EXIT_CODE\",\"time\":1,\"memory\":336,\"wallTime\":2},\"subtaskIds\":[0]}]},{\"id\":-1,\"testCaseResults\":[{\"verdict\":{\"code\":\"AC\"},\"score\":\"50.0\",\"executionResult\":{\"status\":\"ZERO_EXIT_CODE\",\"time\":1,\"memory\":208,\"wallTime\":3},\"subtaskIds\":[-1]},{\"verdict\":{\"code\":\"AC\"},\"score\":\"50.0\",\"executionResult\":{\"status\":\"ZERO_EXIT_CODE\",\"time\":1,\"memory\":208,\"wallTime\":2},\"subtaskIds\":[-1]}]}],\"subtaskResults\":[{\"id\":-1,\"verdict\":{\"code\":\"AC\"},\"score\":100.0}]}', '2023-10-18 11:44:22.210', 'JIDUSERP1gi91MNc1XbXLbPx3dq', '2023-10-18 11:44:26.340', NULL), +('JIDGRADfEn9a0CM1R5yTECZWgvK', 'JIDSUBMoiyhKgFUtHly0mOcUw2T', 'AC', '', 100, '{\"compilationOutputs\":{\"source\":\"B.cpp: In function \'int main()\':\\nB.cpp:6:14: warning: ignoring return value of \'int scanf(const char*, ...)\' declared with attribute \'warn_unused_result\' [-Wunused-result]\\n 6 | scanf(\\\"%s\\\", s);\\n | ~~~~~^~~~~~~~~\\n\"},\"testDataResults\":[{\"id\":0,\"testCaseResults\":[{\"verdict\":{\"code\":\"AC\"},\"score\":\"*\",\"executionResult\":{\"status\":\"ZERO_EXIT_CODE\",\"time\":1,\"memory\":212,\"wallTime\":6},\"subtaskIds\":[0,2]}]},{\"id\":1,\"testCaseResults\":[{\"verdict\":{\"code\":\"AC\"},\"score\":\"*\",\"executionResult\":{\"status\":\"ZERO_EXIT_CODE\",\"time\":1,\"memory\":208,\"wallTime\":7},\"subtaskIds\":[1,2]},{\"verdict\":{\"code\":\"AC\"},\"score\":\"*\",\"executionResult\":{\"status\":\"ZERO_EXIT_CODE\",\"time\":1,\"memory\":208,\"wallTime\":1},\"subtaskIds\":[1,2]}]},{\"id\":2,\"testCaseResults\":[{\"verdict\":{\"code\":\"AC\"},\"score\":\"*\",\"executionResult\":{\"status\":\"ZERO_EXIT_CODE\",\"time\":1,\"memory\":208,\"wallTime\":4},\"subtaskIds\":[2]}]}],\"subtaskResults\":[{\"id\":1,\"verdict\":{\"code\":\"AC\"},\"score\":30.0},{\"id\":2,\"verdict\":{\"code\":\"AC\"},\"score\":70.0}]}', '2023-10-18 12:28:14.522', 'JIDUSER7uMucIkm1exJTu7sJvxR', '2023-10-18 12:28:17.671', NULL), +('JIDGRADxTgx3lGVGdkgiZGZnnMh', 'JIDSUBMiaWA8vZzz5DFzklDJcHy', 'AC', '', 100, '{\"compilationOutputs\":{\"source\":\"A.cpp: In function \'int main()\':\\nA.cpp:5:14: warning: ignoring return value of \'int scanf(const char*, ...)\' declared with attribute \'warn_unused_result\' [-Wunused-result]\\n 5 | scanf(\\\"%d%d\\\", &a);\\n | ~~~~~^~~~~~~~~~\\n\"},\"testDataResults\":[{\"id\":0,\"testCaseResults\":[{\"verdict\":{\"code\":\"AC\"},\"score\":\"\",\"executionResult\":{\"status\":\"ZERO_EXIT_CODE\",\"time\":1,\"memory\":200,\"wallTime\":2},\"subtaskIds\":[0]}]},{\"id\":-1,\"testCaseResults\":[{\"verdict\":{\"code\":\"AC\"},\"score\":\"50.0\",\"executionResult\":{\"status\":\"ZERO_EXIT_CODE\",\"time\":1,\"memory\":196,\"wallTime\":2},\"subtaskIds\":[-1]},{\"verdict\":{\"code\":\"AC\"},\"score\":\"50.0\",\"executionResult\":{\"status\":\"ZERO_EXIT_CODE\",\"time\":1,\"memory\":248,\"wallTime\":2},\"subtaskIds\":[-1]}]}],\"subtaskResults\":[{\"id\":-1,\"verdict\":{\"code\":\"AC\"},\"score\":100.0}]}', '2023-10-18 12:29:01.887', 'JIDUSER7uMucIkm1exJTu7sJvxR', '2023-10-18 12:29:05.699', NULL), +('JIDGRADQujIR64BviBrpUI8qRN7', 'JIDSUBMd0wDFf9o4QvqPxZO2gtz', 'AC', '', 100, '{\"compilationOutputs\":{\"source\":\"B.cpp: In function \'int main()\':\\nB.cpp:6:14: warning: ignoring return value of \'int scanf(const char*, ...)\' declared with attribute \'warn_unused_result\' [-Wunused-result]\\n 6 | scanf(\\\"%s\\\", s);\\n | ~~~~~^~~~~~~~~\\n\"},\"testDataResults\":[{\"id\":0,\"testCaseResults\":[{\"verdict\":{\"code\":\"AC\"},\"score\":\"*\",\"executionResult\":{\"status\":\"ZERO_EXIT_CODE\",\"time\":1,\"memory\":200,\"wallTime\":1},\"subtaskIds\":[0,2]}]},{\"id\":1,\"testCaseResults\":[{\"verdict\":{\"code\":\"AC\"},\"score\":\"*\",\"executionResult\":{\"status\":\"ZERO_EXIT_CODE\",\"time\":1,\"memory\":196,\"wallTime\":2},\"subtaskIds\":[1,2]},{\"verdict\":{\"code\":\"AC\"},\"score\":\"*\",\"executionResult\":{\"status\":\"ZERO_EXIT_CODE\",\"time\":1,\"memory\":196,\"wallTime\":1},\"subtaskIds\":[1,2]}]},{\"id\":2,\"testCaseResults\":[{\"verdict\":{\"code\":\"AC\"},\"score\":\"*\",\"executionResult\":{\"status\":\"ZERO_EXIT_CODE\",\"time\":1,\"memory\":196,\"wallTime\":2},\"subtaskIds\":[2]}]}],\"subtaskResults\":[{\"id\":1,\"verdict\":{\"code\":\"AC\"},\"score\":30.0},{\"id\":2,\"verdict\":{\"code\":\"AC\"},\"score\":70.0}]}', '2023-10-18 12:29:27.565', 'JIDUSERP1gi91MNc1XbXLbPx3dq', '2023-10-18 12:29:29.716', NULL), +('JIDGRADn2xfnxkE1v7lQ6nfx7T3', 'JIDSUBMzMNZ2ihp57wuvX6SGrmg', 'WA', '', 0, '{\"compilationOutputs\":{\"source\":\"A.cpp: In function \'int main()\':\\nA.cpp:5:14: warning: ignoring return value of \'int scanf(const char*, ...)\' declared with attribute \'warn_unused_result\' [-Wunused-result]\\n 5 | scanf(\\\"%d%d\\\", &a);\\n | ~~~~~^~~~~~~~~~\\n\"},\"testDataResults\":[{\"id\":0,\"testCaseResults\":[{\"verdict\":{\"code\":\"WA\"},\"score\":\"\",\"executionResult\":{\"status\":\"ZERO_EXIT_CODE\",\"time\":2,\"memory\":200,\"wallTime\":3},\"subtaskIds\":[0]}]},{\"id\":-1,\"testCaseResults\":[{\"verdict\":{\"code\":\"WA\"},\"score\":\"0.0\",\"executionResult\":{\"status\":\"ZERO_EXIT_CODE\",\"time\":1,\"memory\":196,\"wallTime\":2},\"subtaskIds\":[-1]},{\"verdict\":{\"code\":\"WA\"},\"score\":\"0.0\",\"executionResult\":{\"status\":\"ZERO_EXIT_CODE\",\"time\":1,\"memory\":196,\"wallTime\":1},\"subtaskIds\":[-1]}]}],\"subtaskResults\":[{\"id\":-1,\"verdict\":{\"code\":\"WA\"},\"score\":0.0}]}', '2023-10-18 12:30:41.693', 'JIDUSERVfszUmquMh0Ae2laygDp', '2023-10-18 12:30:43.763', NULL), +('JIDGRADATrHDp1a4M5vMaAQ3TeG', 'JIDSUBMHIdCVCoP1U7Xym1DsEYX', 'AC', '', 100, '{\"compilationOutputs\":{\"source\":\"A.cpp: In function \'int main()\':\\nA.cpp:5:14: warning: ignoring return value of \'int scanf(const char*, ...)\' declared with attribute \'warn_unused_result\' [-Wunused-result]\\n 5 | scanf(\\\"%d%d\\\", &a);\\n | ~~~~~^~~~~~~~~~\\n\"},\"testDataResults\":[{\"id\":0,\"testCaseResults\":[{\"verdict\":{\"code\":\"AC\"},\"score\":\"\",\"executionResult\":{\"status\":\"ZERO_EXIT_CODE\",\"time\":1,\"memory\":200,\"wallTime\":2},\"subtaskIds\":[0]}]},{\"id\":-1,\"testCaseResults\":[{\"verdict\":{\"code\":\"AC\"},\"score\":\"50.0\",\"executionResult\":{\"status\":\"ZERO_EXIT_CODE\",\"time\":1,\"memory\":200,\"wallTime\":2},\"subtaskIds\":[-1]},{\"verdict\":{\"code\":\"AC\"},\"score\":\"50.0\",\"executionResult\":{\"status\":\"ZERO_EXIT_CODE\",\"time\":1,\"memory\":196,\"wallTime\":2},\"subtaskIds\":[-1]}]}],\"subtaskResults\":[{\"id\":-1,\"verdict\":{\"code\":\"AC\"},\"score\":100.0}]}', '2023-10-18 12:30:52.706', 'JIDUSERVfszUmquMh0Ae2laygDp', '2023-10-18 12:30:53.771', NULL), +('JIDGRADlSIfq3dOfswmBGahaG7r', 'JIDSUBMgVUTLQeP7CFRpYqgQYrR', 'WA', '', 0, '{\"compilationOutputs\":{\"source\":\"B.cpp: In function \'int main()\':\\nB.cpp:6:14: warning: ignoring return value of \'int scanf(const char*, ...)\' declared with attribute \'warn_unused_result\' [-Wunused-result]\\n 6 | scanf(\\\"%s\\\", s);\\n | ~~~~~^~~~~~~~~\\n\"},\"testDataResults\":[{\"id\":0,\"testCaseResults\":[{\"verdict\":{\"code\":\"WA\"},\"score\":\"X\",\"executionResult\":{\"status\":\"ZERO_EXIT_CODE\",\"time\":1,\"memory\":200,\"wallTime\":2},\"subtaskIds\":[0,2]}]},{\"id\":1,\"testCaseResults\":[{\"verdict\":{\"code\":\"WA\"},\"score\":\"X\",\"executionResult\":{\"status\":\"ZERO_EXIT_CODE\",\"time\":1,\"memory\":196,\"wallTime\":1},\"subtaskIds\":[1,2]},{\"verdict\":{\"code\":\"SKP\"},\"score\":\"?\",\"executionResult\":null,\"subtaskIds\":[1,2]}]},{\"id\":2,\"testCaseResults\":[{\"verdict\":{\"code\":\"SKP\"},\"score\":\"?\",\"executionResult\":null,\"subtaskIds\":[2]}]}],\"subtaskResults\":[{\"id\":1,\"verdict\":{\"code\":\"WA\"},\"score\":0.0},{\"id\":2,\"verdict\":{\"code\":\"WA\"},\"score\":0.0}]}', '2023-10-18 12:31:17.226', 'JIDUSERVfszUmquMh0Ae2laygDp', '2023-10-18 12:31:17.801', NULL), +('JIDGRADiRBeAXu4UXrKNMp5Mscp', 'JIDSUBMntD6kdSOu8PGu9ORYUPm', 'WA', '', 0, '{\"compilationOutputs\":{\"source\":\"A.cpp: In function \'int main()\':\\nA.cpp:5:14: warning: ignoring return value of \'int scanf(const char*, ...)\' declared with attribute \'warn_unused_result\' [-Wunused-result]\\n 5 | scanf(\\\"%d%d\\\", &a);\\n | ~~~~~^~~~~~~~~~\\n\"},\"testDataResults\":[{\"id\":0,\"testCaseResults\":[{\"verdict\":{\"code\":\"WA\"},\"score\":\"\",\"executionResult\":{\"status\":\"ZERO_EXIT_CODE\",\"time\":1,\"memory\":200,\"wallTime\":2},\"subtaskIds\":[0]}]},{\"id\":-1,\"testCaseResults\":[{\"verdict\":{\"code\":\"WA\"},\"score\":\"0.0\",\"executionResult\":{\"status\":\"ZERO_EXIT_CODE\",\"time\":1,\"memory\":200,\"wallTime\":2},\"subtaskIds\":[-1]},{\"verdict\":{\"code\":\"WA\"},\"score\":\"0.0\",\"executionResult\":{\"status\":\"ZERO_EXIT_CODE\",\"time\":1,\"memory\":196,\"wallTime\":2},\"subtaskIds\":[-1]}]}],\"subtaskResults\":[{\"id\":-1,\"verdict\":{\"code\":\"WA\"},\"score\":0.0}]}', '2023-10-18 12:31:40.710', 'JIDUSERXCcE36qmrr8Tm46k3hSV', '2023-10-18 12:31:43.818', NULL), +('JIDGRADtYA4c9MoxICq1OWAAXhP', 'JIDSUBMjCYFbUFxgGtLo2R37AHe', 'WA', '', 0, '{\"compilationOutputs\":{\"source\":\"A.cpp: In function \'int main()\':\\nA.cpp:5:14: warning: ignoring return value of \'int scanf(const char*, ...)\' declared with attribute \'warn_unused_result\' [-Wunused-result]\\n 5 | scanf(\\\"%d%d\\\", &a);\\n | ~~~~~^~~~~~~~~~\\n\"},\"testDataResults\":[{\"id\":0,\"testCaseResults\":[{\"verdict\":{\"code\":\"WA\"},\"score\":\"\",\"executionResult\":{\"status\":\"ZERO_EXIT_CODE\",\"time\":1,\"memory\":200,\"wallTime\":2},\"subtaskIds\":[0]}]},{\"id\":-1,\"testCaseResults\":[{\"verdict\":{\"code\":\"WA\"},\"score\":\"0.0\",\"executionResult\":{\"status\":\"ZERO_EXIT_CODE\",\"time\":1,\"memory\":196,\"wallTime\":2},\"subtaskIds\":[-1]},{\"verdict\":{\"code\":\"WA\"},\"score\":\"0.0\",\"executionResult\":{\"status\":\"ZERO_EXIT_CODE\",\"time\":1,\"memory\":196,\"wallTime\":2},\"subtaskIds\":[-1]}]}],\"subtaskResults\":[{\"id\":-1,\"verdict\":{\"code\":\"WA\"},\"score\":0.0}]}', '2023-10-18 12:32:13.553', 'JIDUSERXCcE36qmrr8Tm46k3hSV', '2023-10-18 12:32:15.842', NULL), +('JIDGRAD8RMq8keVwQUyGt9xxkqk', 'JIDSUBMxPuRSI3rFg8vQyY5T30s', 'AC', '', 100, '{\"compilationOutputs\":{\"source\":\"A.cpp: In function \'int main()\':\\nA.cpp:5:14: warning: ignoring return value of \'int scanf(const char*, ...)\' declared with attribute \'warn_unused_result\' [-Wunused-result]\\n 5 | scanf(\\\"%d%d\\\", &a);\\n | ~~~~~^~~~~~~~~~\\n\"},\"testDataResults\":[{\"id\":0,\"testCaseResults\":[{\"verdict\":{\"code\":\"AC\"},\"score\":\"\",\"executionResult\":{\"status\":\"ZERO_EXIT_CODE\",\"time\":1,\"memory\":200,\"wallTime\":2},\"subtaskIds\":[0]}]},{\"id\":-1,\"testCaseResults\":[{\"verdict\":{\"code\":\"AC\"},\"score\":\"50.0\",\"executionResult\":{\"status\":\"ZERO_EXIT_CODE\",\"time\":1,\"memory\":196,\"wallTime\":1},\"subtaskIds\":[-1]},{\"verdict\":{\"code\":\"AC\"},\"score\":\"50.0\",\"executionResult\":{\"status\":\"ZERO_EXIT_CODE\",\"time\":1,\"memory\":196,\"wallTime\":2},\"subtaskIds\":[-1]}]}],\"subtaskResults\":[{\"id\":-1,\"verdict\":{\"code\":\"AC\"},\"score\":100.0}]}', '2023-10-18 12:34:57.786', 'JIDUSERP1gi91MNc1XbXLbPx3dq', '2023-10-18 12:34:59.940', NULL), +('JIDGRAD7R7pYjh3KJ8enoYTTFRg', 'JIDSUBMvCNPPtIB4p0RkQ4kJRS7', 'AC', '', 100, '{\"compilationOutputs\":{\"source\":\"B.cpp: In function \'int main()\':\\nB.cpp:6:14: warning: ignoring return value of \'int scanf(const char*, ...)\' declared with attribute \'warn_unused_result\' [-Wunused-result]\\n 6 | scanf(\\\"%s\\\", s);\\n | ~~~~~^~~~~~~~~\\n\"},\"testDataResults\":[{\"id\":0,\"testCaseResults\":[{\"verdict\":{\"code\":\"AC\"},\"score\":\"*\",\"executionResult\":{\"status\":\"ZERO_EXIT_CODE\",\"time\":1,\"memory\":252,\"wallTime\":1},\"subtaskIds\":[0,2]}]},{\"id\":1,\"testCaseResults\":[{\"verdict\":{\"code\":\"AC\"},\"score\":\"*\",\"executionResult\":{\"status\":\"ZERO_EXIT_CODE\",\"time\":1,\"memory\":196,\"wallTime\":1},\"subtaskIds\":[1,2]},{\"verdict\":{\"code\":\"AC\"},\"score\":\"*\",\"executionResult\":{\"status\":\"ZERO_EXIT_CODE\",\"time\":1,\"memory\":196,\"wallTime\":1},\"subtaskIds\":[1,2]}]},{\"id\":2,\"testCaseResults\":[{\"verdict\":{\"code\":\"AC\"},\"score\":\"*\",\"executionResult\":{\"status\":\"ZERO_EXIT_CODE\",\"time\":1,\"memory\":200,\"wallTime\":1},\"subtaskIds\":[2]}]}],\"subtaskResults\":[{\"id\":1,\"verdict\":{\"code\":\"AC\"},\"score\":30.0},{\"id\":2,\"verdict\":{\"code\":\"AC\"},\"score\":70.0}]}', '2023-10-18 12:35:29.087', 'JIDUSERP1gi91MNc1XbXLbPx3dq', '2023-10-18 12:35:31.960', NULL), +('JIDGRADhWHBynvyCDEFg7QIjIOq', 'JIDSUBM6wH78DVlKHV40EOx1ugu', 'AC', '', 100, '{\"compilationOutputs\":{\"source\":\"A.cpp: In function \'int main()\':\\nA.cpp:5:14: warning: ignoring return value of \'int scanf(const char*, ...)\' declared with attribute \'warn_unused_result\' [-Wunused-result]\\n 5 | scanf(\\\"%d%d\\\", &a);\\n | ~~~~~^~~~~~~~~~\\n\"},\"testDataResults\":[{\"id\":0,\"testCaseResults\":[{\"verdict\":{\"code\":\"AC\"},\"score\":\"\",\"executionResult\":{\"status\":\"ZERO_EXIT_CODE\",\"time\":1,\"memory\":200,\"wallTime\":1},\"subtaskIds\":[0]}]},{\"id\":-1,\"testCaseResults\":[{\"verdict\":{\"code\":\"AC\"},\"score\":\"50.0\",\"executionResult\":{\"status\":\"ZERO_EXIT_CODE\",\"time\":1,\"memory\":196,\"wallTime\":2},\"subtaskIds\":[-1]},{\"verdict\":{\"code\":\"AC\"},\"score\":\"50.0\",\"executionResult\":{\"status\":\"ZERO_EXIT_CODE\",\"time\":1,\"memory\":196,\"wallTime\":2},\"subtaskIds\":[-1]}]}],\"subtaskResults\":[{\"id\":-1,\"verdict\":{\"code\":\"AC\"},\"score\":100.0}]}', '2023-10-18 12:36:22.909', 'JIDUSER7uMucIkm1exJTu7sJvxR', '2023-10-18 12:36:25.990', NULL), +('JIDGRAD0nxB7s21GAe1B4pbgbv3', 'JIDSUBMaLEv9JLjHmlvPF2UM66p', 'AC', '', 100, '{\"compilationOutputs\":{\"source\":\"B.cpp: In function \'int main()\':\\nB.cpp:6:14: warning: ignoring return value of \'int scanf(const char*, ...)\' declared with attribute \'warn_unused_result\' [-Wunused-result]\\n 6 | scanf(\\\"%s\\\", s);\\n | ~~~~~^~~~~~~~~\\n\"},\"testDataResults\":[{\"id\":0,\"testCaseResults\":[{\"verdict\":{\"code\":\"AC\"},\"score\":\"*\",\"executionResult\":{\"status\":\"ZERO_EXIT_CODE\",\"time\":1,\"memory\":212,\"wallTime\":5},\"subtaskIds\":[0,2]}]},{\"id\":1,\"testCaseResults\":[{\"verdict\":{\"code\":\"AC\"},\"score\":\"*\",\"executionResult\":{\"status\":\"ZERO_EXIT_CODE\",\"time\":2,\"memory\":208,\"wallTime\":8},\"subtaskIds\":[1,2]},{\"verdict\":{\"code\":\"AC\"},\"score\":\"*\",\"executionResult\":{\"status\":\"ZERO_EXIT_CODE\",\"time\":1,\"memory\":208,\"wallTime\":6},\"subtaskIds\":[1,2]}]},{\"id\":2,\"testCaseResults\":[{\"verdict\":{\"code\":\"AC\"},\"score\":\"*\",\"executionResult\":{\"status\":\"ZERO_EXIT_CODE\",\"time\":1,\"memory\":208,\"wallTime\":1},\"subtaskIds\":[2]}]}],\"subtaskResults\":[{\"id\":1,\"verdict\":{\"code\":\"AC\"},\"score\":30.0},{\"id\":2,\"verdict\":{\"code\":\"AC\"},\"score\":70.0}]}', '2023-10-18 12:39:47.322', 'JIDUSER7uMucIkm1exJTu7sJvxR', '2023-10-18 12:39:50.919', NULL), +('JIDGRADg2QYY087Nc3EvTPMMEtv', 'JIDSUBMNR36LSpaunCnOy6h6Kqi', 'AC', '', 100, '{\"compilationOutputs\":{\"source\":\"B.cpp: In function \'int main()\':\\nB.cpp:6:14: warning: ignoring return value of \'int scanf(const char*, ...)\' declared with attribute \'warn_unused_result\' [-Wunused-result]\\n 6 | scanf(\\\"%s\\\", s);\\n | ~~~~~^~~~~~~~~\\n\"},\"testDataResults\":[{\"id\":0,\"testCaseResults\":[{\"verdict\":{\"code\":\"AC\"},\"score\":\"*\",\"executionResult\":{\"status\":\"ZERO_EXIT_CODE\",\"time\":1,\"memory\":212,\"wallTime\":5},\"subtaskIds\":[0,2]}]},{\"id\":1,\"testCaseResults\":[{\"verdict\":{\"code\":\"AC\"},\"score\":\"*\",\"executionResult\":{\"status\":\"ZERO_EXIT_CODE\",\"time\":1,\"memory\":208,\"wallTime\":3},\"subtaskIds\":[1,2]},{\"verdict\":{\"code\":\"AC\"},\"score\":\"*\",\"executionResult\":{\"status\":\"ZERO_EXIT_CODE\",\"time\":1,\"memory\":208,\"wallTime\":3},\"subtaskIds\":[1,2]}]},{\"id\":2,\"testCaseResults\":[{\"verdict\":{\"code\":\"AC\"},\"score\":\"*\",\"executionResult\":{\"status\":\"ZERO_EXIT_CODE\",\"time\":1,\"memory\":208,\"wallTime\":3},\"subtaskIds\":[2]}]}],\"subtaskResults\":[{\"id\":1,\"verdict\":{\"code\":\"AC\"},\"score\":30.0},{\"id\":2,\"verdict\":{\"code\":\"AC\"},\"score\":70.0}]}', '2023-10-18 12:40:51.637', 'JIDUSER7uMucIkm1exJTu7sJvxR', '2023-10-18 12:40:54.838', NULL), +('JIDGRAD04sC04rnhSdNA3fnxLAJ', 'JIDSUBMakcT3STIW7aKgRl6aV7E', 'WA', '', 30, '{\"compilationOutputs\":{\"source\":\"B.cpp: In function \'int main()\':\\nB.cpp:7:14: warning: ignoring return value of \'int scanf(const char*, ...)\' declared with attribute \'warn_unused_result\' [-Wunused-result]\\n 7 | scanf(\\\"%s\\\", s);\\n | ~~~~~^~~~~~~~~\\n\"},\"testDataResults\":[{\"id\":0,\"testCaseResults\":[{\"verdict\":{\"code\":\"WA\"},\"score\":\"X\",\"executionResult\":{\"status\":\"ZERO_EXIT_CODE\",\"time\":1,\"memory\":212,\"wallTime\":2},\"subtaskIds\":[0,2]}]},{\"id\":1,\"testCaseResults\":[{\"verdict\":{\"code\":\"AC\"},\"score\":\"*\",\"executionResult\":{\"status\":\"ZERO_EXIT_CODE\",\"time\":1,\"memory\":208,\"wallTime\":5},\"subtaskIds\":[1,2]},{\"verdict\":{\"code\":\"AC\"},\"score\":\"*\",\"executionResult\":{\"status\":\"ZERO_EXIT_CODE\",\"time\":1,\"memory\":208,\"wallTime\":2},\"subtaskIds\":[1,2]}]},{\"id\":2,\"testCaseResults\":[{\"verdict\":{\"code\":\"SKP\"},\"score\":\"?\",\"executionResult\":null,\"subtaskIds\":[2]}]}],\"subtaskResults\":[{\"id\":1,\"verdict\":{\"code\":\"AC\"},\"score\":30.0},{\"id\":2,\"verdict\":{\"code\":\"WA\"},\"score\":0.0}]}', '2023-10-18 12:42:34.663', 'JIDUSERVfszUmquMh0Ae2laygDp', '2023-10-18 12:42:38.892', NULL), +('JIDGRADZeYzt9jEsVXxQBQ0R8b9', 'JIDSUBM7vpXpCjGD049ki9WBPfG', 'AC', '', 100, '{\"compilationOutputs\":{\"source\":\"A.cpp: In function \'int main()\':\\nA.cpp:5:14: warning: ignoring return value of \'int scanf(const char*, ...)\' declared with attribute \'warn_unused_result\' [-Wunused-result]\\n 5 | scanf(\\\"%d%d\\\", &a);\\n | ~~~~~^~~~~~~~~~\\n\"},\"testDataResults\":[{\"id\":0,\"testCaseResults\":[{\"verdict\":{\"code\":\"AC\"},\"score\":\"\",\"executionResult\":{\"status\":\"ZERO_EXIT_CODE\",\"time\":1,\"memory\":200,\"wallTime\":11},\"subtaskIds\":[0]}]},{\"id\":-1,\"testCaseResults\":[{\"verdict\":{\"code\":\"AC\"},\"score\":\"50.0\",\"executionResult\":{\"status\":\"ZERO_EXIT_CODE\",\"time\":1,\"memory\":196,\"wallTime\":5},\"subtaskIds\":[-1]},{\"verdict\":{\"code\":\"AC\"},\"score\":\"50.0\",\"executionResult\":{\"status\":\"ZERO_EXIT_CODE\",\"time\":1,\"memory\":196,\"wallTime\":6},\"subtaskIds\":[-1]}]}],\"subtaskResults\":[{\"id\":-1,\"verdict\":{\"code\":\"AC\"},\"score\":100.0}]}', '2023-10-18 12:42:57.247', 'JIDUSERVfszUmquMh0Ae2laygDp', '2023-10-18 12:43:00.906', NULL), +('JIDGRADzYCfkWEC8jy8BvXM4eUI', 'JIDSUBM6zFiwYvmoBPeoKqlRGkD', 'WA', '', 0, '{\"compilationOutputs\":{\"source\":\"A.cpp: In function \'int main()\':\\nA.cpp:5:14: warning: ignoring return value of \'int scanf(const char*, ...)\' declared with attribute \'warn_unused_result\' [-Wunused-result]\\n 5 | scanf(\\\"%d%d\\\", &a);\\n | ~~~~~^~~~~~~~~~\\n\"},\"testDataResults\":[{\"id\":0,\"testCaseResults\":[{\"verdict\":{\"code\":\"WA\"},\"score\":\"\",\"executionResult\":{\"status\":\"ZERO_EXIT_CODE\",\"time\":1,\"memory\":200,\"wallTime\":1},\"subtaskIds\":[0]}]},{\"id\":-1,\"testCaseResults\":[{\"verdict\":{\"code\":\"WA\"},\"score\":\"0.0\",\"executionResult\":{\"status\":\"ZERO_EXIT_CODE\",\"time\":1,\"memory\":196,\"wallTime\":1},\"subtaskIds\":[-1]},{\"verdict\":{\"code\":\"WA\"},\"score\":\"0.0\",\"executionResult\":{\"status\":\"ZERO_EXIT_CODE\",\"time\":1,\"memory\":196,\"wallTime\":2},\"subtaskIds\":[-1]}]}],\"subtaskResults\":[{\"id\":-1,\"verdict\":{\"code\":\"WA\"},\"score\":0.0}]}', '2023-10-18 12:43:41.297', 'JIDUSER5QiWnVJWzKdjtWtgEfN3', '2023-10-18 12:43:44.967', NULL); + +-- +-- Dumping data for table `uriel_contest_programming_submission` +-- + +INSERT INTO `uriel_contest_programming_submission` (`jid`, `containerJid`, `problemJid`, `gradingEngine`, `gradingLanguage`, `createdAt`, `createdBy`, `updatedAt`, `updatedBy`) VALUES +('JIDSUBM0B9jV1Iz5lt5gFFhnwl1', 'JIDCONTYsWkzwPy8wCF3maJfxqN', 'JIDPROGSxtSvuGAW4IKreFasSY0', 'Batch', 'Cpp20', '2023-10-18 11:31:47.802', 'JIDUSERP1gi91MNc1XbXLbPx3dq', '2023-10-18 11:31:47.802', 'JIDUSERP1gi91MNc1XbXLbPx3dq'), +('JIDSUBMd1YBSUNyXA8x9L0YJHz8', 'JIDCONTYsWkzwPy8wCF3maJfxqN', 'JIDPROGSxtSvuGAW4IKreFasSY0', 'Batch', 'Cpp20', '2023-10-18 11:34:25.136', 'JIDUSERP1gi91MNc1XbXLbPx3dq', '2023-10-18 11:34:25.136', 'JIDUSERP1gi91MNc1XbXLbPx3dq'), +('JIDSUBMoiyhKgFUtHly0mOcUw2T', 'JIDCONTYsWkzwPy8wCF3maJfxqN', 'JIDPROGw21Ya31fwCuEnNJLlVwO', 'BatchWithSubtasks', 'Cpp20', '2023-10-18 12:28:14.504', 'JIDUSER7uMucIkm1exJTu7sJvxR', '2023-10-18 12:28:14.504', 'JIDUSER7uMucIkm1exJTu7sJvxR'), +('JIDSUBMiaWA8vZzz5DFzklDJcHy', 'JIDCONTYsWkzwPy8wCF3maJfxqN', 'JIDPROGSxtSvuGAW4IKreFasSY0', 'Batch', 'Cpp20', '2023-10-18 12:29:01.885', 'JIDUSER7uMucIkm1exJTu7sJvxR', '2023-10-18 12:29:01.885', 'JIDUSER7uMucIkm1exJTu7sJvxR'), +('JIDSUBMd0wDFf9o4QvqPxZO2gtz', 'JIDCONTYsWkzwPy8wCF3maJfxqN', 'JIDPROGw21Ya31fwCuEnNJLlVwO', 'BatchWithSubtasks', 'Cpp20', '2023-10-18 12:29:27.562', 'JIDUSERP1gi91MNc1XbXLbPx3dq', '2023-10-18 12:29:27.562', 'JIDUSERP1gi91MNc1XbXLbPx3dq'), +('JIDSUBMzMNZ2ihp57wuvX6SGrmg', 'JIDCONTYsWkzwPy8wCF3maJfxqN', 'JIDPROGSxtSvuGAW4IKreFasSY0', 'Batch', 'Cpp20', '2023-10-18 12:30:41.689', 'JIDUSERVfszUmquMh0Ae2laygDp', '2023-10-18 12:30:41.689', 'JIDUSERVfszUmquMh0Ae2laygDp'), +('JIDSUBMHIdCVCoP1U7Xym1DsEYX', 'JIDCONTYsWkzwPy8wCF3maJfxqN', 'JIDPROGSxtSvuGAW4IKreFasSY0', 'Batch', 'Cpp20', '2023-10-18 12:30:52.704', 'JIDUSERVfszUmquMh0Ae2laygDp', '2023-10-18 12:30:52.704', 'JIDUSERVfszUmquMh0Ae2laygDp'), +('JIDSUBMgVUTLQeP7CFRpYqgQYrR', 'JIDCONTYsWkzwPy8wCF3maJfxqN', 'JIDPROGw21Ya31fwCuEnNJLlVwO', 'BatchWithSubtasks', 'Cpp20', '2023-10-18 12:31:17.221', 'JIDUSERVfszUmquMh0Ae2laygDp', '2023-10-18 12:31:17.221', 'JIDUSERVfszUmquMh0Ae2laygDp'), +('JIDSUBMntD6kdSOu8PGu9ORYUPm', 'JIDCONTYsWkzwPy8wCF3maJfxqN', 'JIDPROGSxtSvuGAW4IKreFasSY0', 'Batch', 'Cpp20', '2023-10-18 12:31:40.702', 'JIDUSERXCcE36qmrr8Tm46k3hSV', '2023-10-18 12:31:40.702', 'JIDUSERXCcE36qmrr8Tm46k3hSV'), +('JIDSUBMjCYFbUFxgGtLo2R37AHe', 'JIDCONTYsWkzwPy8wCF3maJfxqN', 'JIDPROGSxtSvuGAW4IKreFasSY0', 'Batch', 'Cpp20', '2023-10-18 12:32:13.551', 'JIDUSERXCcE36qmrr8Tm46k3hSV', '2023-10-18 12:32:13.551', 'JIDUSERXCcE36qmrr8Tm46k3hSV'), +('JIDSUBMxPuRSI3rFg8vQyY5T30s', 'JIDCONT89YMatMq7GqaPQCyyUHU', 'JIDPROGSxtSvuGAW4IKreFasSY0', 'Batch', 'Cpp20', '2023-10-18 12:34:57.784', 'JIDUSERP1gi91MNc1XbXLbPx3dq', '2023-10-18 12:34:57.784', 'JIDUSERP1gi91MNc1XbXLbPx3dq'), +('JIDSUBMvCNPPtIB4p0RkQ4kJRS7', 'JIDCONT89YMatMq7GqaPQCyyUHU', 'JIDPROGw21Ya31fwCuEnNJLlVwO', 'BatchWithSubtasks', 'Cpp20', '2023-10-18 12:35:29.084', 'JIDUSERP1gi91MNc1XbXLbPx3dq', '2023-10-18 12:35:29.084', 'JIDUSERP1gi91MNc1XbXLbPx3dq'), +('JIDSUBM6wH78DVlKHV40EOx1ugu', 'JIDCONTYsWkzwPy8wCF3maJfxqN', 'JIDPROGSxtSvuGAW4IKreFasSY0', 'Batch', 'Cpp20', '2023-10-18 12:36:22.907', 'JIDUSER7uMucIkm1exJTu7sJvxR', '2023-10-18 12:36:22.907', 'JIDUSER7uMucIkm1exJTu7sJvxR'), +('JIDSUBMaLEv9JLjHmlvPF2UM66p', 'JIDCONT89YMatMq7GqaPQCyyUHU', 'JIDPROGw21Ya31fwCuEnNJLlVwO', 'BatchWithSubtasks', 'Cpp20', '2023-10-18 12:39:47.307', 'JIDUSER7uMucIkm1exJTu7sJvxR', '2023-10-18 12:39:47.307', 'JIDUSER7uMucIkm1exJTu7sJvxR'), +('JIDSUBMNR36LSpaunCnOy6h6Kqi', 'JIDCONT89YMatMq7GqaPQCyyUHU', 'JIDPROGw21Ya31fwCuEnNJLlVwO', 'BatchWithSubtasks', 'Cpp20', '2023-10-18 12:40:51.617', 'JIDUSER7uMucIkm1exJTu7sJvxR', '2023-10-18 12:40:51.617', 'JIDUSER7uMucIkm1exJTu7sJvxR'), +('JIDSUBMakcT3STIW7aKgRl6aV7E', 'JIDCONT89YMatMq7GqaPQCyyUHU', 'JIDPROGw21Ya31fwCuEnNJLlVwO', 'BatchWithSubtasks', 'Cpp20', '2023-10-18 12:42:34.659', 'JIDUSERVfszUmquMh0Ae2laygDp', '2023-10-18 12:42:34.659', 'JIDUSERVfszUmquMh0Ae2laygDp'), +('JIDSUBM7vpXpCjGD049ki9WBPfG', 'JIDCONT89YMatMq7GqaPQCyyUHU', 'JIDPROGSxtSvuGAW4IKreFasSY0', 'Batch', 'Cpp20', '2023-10-18 12:42:57.245', 'JIDUSERVfszUmquMh0Ae2laygDp', '2023-10-18 12:42:57.245', 'JIDUSERVfszUmquMh0Ae2laygDp'), +('JIDSUBM6zFiwYvmoBPeoKqlRGkD', 'JIDCONT89YMatMq7GqaPQCyyUHU', 'JIDPROGSxtSvuGAW4IKreFasSY0', 'Batch', 'Cpp20', '2023-10-18 12:43:41.287', 'JIDUSER5QiWnVJWzKdjtWtgEfN3', '2023-10-18 12:43:41.287', 'JIDUSER5QiWnVJWzKdjtWtgEfN3'); + -- -- Dumping data for table `uriel_contest_scoreboard` -- INSERT INTO `uriel_contest_scoreboard` (`contestJid`, `scoreboard`, `type`, `createdAt`, `updatedAt`) VALUES -('JIDCONTYsWkzwPy8wCF3maJfxqN', '{\"state\":{\"problemJids\":[\"JIDPROGSxtSvuGAW4IKreFasSY0\",\"JIDPROGme6wb9DCQPCKJBEPO4qR\"],\"problemAliases\":[\"A\",\"B\"],\"contestantJids\":[\"JIDUSER7uMucIkm1exJTu7sJvxR\",\"JIDUSERDMZOs8UHqjsw9DGbB31z\",\"JIDUSERVfszUmquMh0Ae2laygDp\",\"JIDUSER5QiWnVJWzKdjtWtgEfN3\",\"JIDUSERXCcE36qmrr8Tm46k3hSV\",\"JIDUSERP1gi91MNc1XbXLbPx3dq\"]},\"content\":{\"entries\":[{\"rank\":1,\"contestantJid\":\"JIDUSERP1gi91MNc1XbXLbPx3dq\",\"totalAccepted\":2,\"totalPenalties\":30,\"lastAcceptedPenalty\":20,\"attemptsList\":[1,1],\"penaltyList\":[10,20],\"problemStateList\":[2,1]},{\"rank\":2,\"contestantJid\":\"JIDUSER7uMucIkm1exJTu7sJvxR\",\"totalAccepted\":2,\"totalPenalties\":31,\"lastAcceptedPenalty\":15,\"attemptsList\":[1,1],\"penaltyList\":[16,15],\"problemStateList\":[1,2]},{\"rank\":3,\"contestantJid\":\"JIDUSERVfszUmquMh0Ae2laygDp\",\"totalAccepted\":1,\"totalPenalties\":50,\"lastAcceptedPenalty\":30,\"attemptsList\":[2,1],\"penaltyList\":[30,15],\"problemStateList\":[1,0]},{\"rank\":4,\"contestantJid\":\"JIDUSERXCcE36qmrr8Tm46k3hSV\",\"totalAccepted\":0,\"totalPenalties\":0,\"lastAcceptedPenalty\":0,\"attemptsList\":[2,0],\"penaltyList\":[0,0],\"problemStateList\":[0,0]},{\"rank\":4,\"contestantJid\":\"JIDUSER5QiWnVJWzKdjtWtgEfN3\",\"totalAccepted\":0,\"totalPenalties\":0,\"lastAcceptedPenalty\":0,\"attemptsList\":[0,0],\"penaltyList\":[0,0],\"problemStateList\":[0,0]},{\"rank\":4,\"contestantJid\":\"JIDUSERDMZOs8UHqjsw9DGbB31z\",\"totalAccepted\":0,\"totalPenalties\":0,\"lastAcceptedPenalty\":0,\"attemptsList\":[0,0],\"penaltyList\":[0,0],\"problemStateList\":[0,0]}]}}', 'OFFICIAL', '2018-08-20 00:00:00.000', '2018-08-20 15:41:43.186'), -('JIDCONT89YMatMq7GqaPQCyyUHU', '{\"state\":{\"problemJids\":[\"JIDPROGSxtSvuGAW4IKreFasSY0\",\"JIDPROGw21Ya31fwCuEnNJLlVwO\"],\"problemAliases\":[\"A\",\"B\"],\"contestantJids\":[\"JIDUSER7uMucIkm1exJTu7sJvxR\",\"JIDUSERDMZOs8UHqjsw9DGbB31z\",\"JIDUSERVfszUmquMh0Ae2laygDp\",\"JIDUSER5QiWnVJWzKdjtWtgEfN3\",\"JIDUSERXCcE36qmrr8Tm46k3hSV\",\"JIDUSERP1gi91MNc1XbXLbPx3dq\"]},\"content\":{\"entries\":[{\"rank\":1,\"contestantJid\":\"JIDUSERP1gi91MNc1XbXLbPx3dq\",\"scores\":[100,100],\"totalScores\":200,\"lastAffectingPenalty\":0},{\"rank\":2,\"contestantJid\":\"JIDUSER7uMucIkm1exJTu7sJvxR\",\"scores\":[100,50],\"totalScores\":150,\"lastAffectingPenalty\":0},{\"rank\":3,\"contestantJid\":\"JIDUSERVfszUmquMh0Ae2laygDp\",\"scores\":[75,0],\"totalScores\":75,\"lastAffectingPenalty\":0},{\"rank\":4,\"contestantJid\":\"JIDUSERXCcE36qmrr8Tm46k3hSV\",\"scores\":[0,null],\"totalScores\":0,\"lastAffectingPenalty\":0},{\"rank\":4,\"contestantJid\":\"JIDUSER5QiWnVJWzKdjtWtgEfN3\",\"scores\":[null,null],\"totalScores\":0,\"lastAffectingPenalty\":0},{\"rank\":4,\"contestantJid\":\"JIDUSERDMZOs8UHqjsw9DGbB31z\",\"scores\":[null,null],\"totalScores\":0,\"lastAffectingPenalty\":0}]}}', 'OFFICIAL', '2018-08-20 15:33:27.529', '2018-08-20 15:35:43.211'), +('JIDCONTYsWkzwPy8wCF3maJfxqN', '{\"content\":{\"entries\":[{\"contestantUsername\":\"fuad\",\"contestantRating\":2600,\"totalAccepted\":2,\"totalPenalties\":145,\"lastAcceptedPenalty\":5367562,\"attemptsList\":[2,1],\"penaltyList\":[35,90],\"problemStateList\":[2,1],\"rank\":1,\"contestantJid\":\"JIDUSERP1gi91MNc1XbXLbPx3dq\"},{\"contestantUsername\":\"andi\",\"contestantRating\":3100,\"totalAccepted\":2,\"totalPenalties\":179,\"lastAcceptedPenalty\":5341885,\"attemptsList\":[1,1],\"penaltyList\":[90,89],\"problemStateList\":[1,2],\"rank\":2,\"contestantJid\":\"JIDUSER7uMucIkm1exJTu7sJvxR\"},{\"contestantUsername\":\"caca\",\"contestantRating\":1700,\"totalAccepted\":1,\"totalPenalties\":111,\"lastAcceptedPenalty\":5452704,\"attemptsList\":[2,1],\"penaltyList\":[91,0],\"problemStateList\":[1,0],\"rank\":3,\"contestantJid\":\"JIDUSERVfszUmquMh0Ae2laygDp\"},{\"contestantUsername\":\"emir\",\"contestantRating\":1800,\"totalAccepted\":0,\"totalPenalties\":0,\"lastAcceptedPenalty\":0,\"attemptsList\":[2,0],\"penaltyList\":[0,0],\"problemStateList\":[0,0],\"rank\":4,\"contestantJid\":\"JIDUSERXCcE36qmrr8Tm46k3hSV\"},{\"contestantUsername\":\"budi\",\"contestantRating\":2300,\"totalAccepted\":0,\"totalPenalties\":0,\"lastAcceptedPenalty\":0,\"attemptsList\":[0,0],\"penaltyList\":[0,0],\"problemStateList\":[0,0],\"rank\":4,\"contestantJid\":\"JIDUSERDMZOs8UHqjsw9DGbB31z\"},{\"contestantUsername\":\"dudi\",\"contestantRating\":1651,\"totalAccepted\":0,\"totalPenalties\":0,\"lastAcceptedPenalty\":0,\"attemptsList\":[0,0],\"penaltyList\":[0,0],\"problemStateList\":[0,0],\"rank\":4,\"contestantJid\":\"JIDUSER5QiWnVJWzKdjtWtgEfN3\"}]},\"state\":{\"problemJids\":[\"JIDPROGSxtSvuGAW4IKreFasSY0\",\"JIDPROGw21Ya31fwCuEnNJLlVwO\"],\"problemAliases\":[\"A\",\"B\"],\"problemPoints\":null}}', 'OFFICIAL', '2018-08-20 00:00:00.000', '2023-10-18 14:01:55.354'), +('JIDCONT89YMatMq7GqaPQCyyUHU', '{\"content\":{\"entries\":[{\"contestantUsername\":\"fuad\",\"contestantRating\":2600,\"totalScores\":200,\"lastAffectingPenalty\":5729084,\"scores\":[100,100],\"rank\":1,\"contestantJid\":\"JIDUSERP1gi91MNc1XbXLbPx3dq\"},{\"contestantUsername\":\"caca\",\"contestantRating\":1700,\"totalScores\":130,\"lastAffectingPenalty\":6177245,\"scores\":[100,30],\"rank\":2,\"contestantJid\":\"JIDUSERVfszUmquMh0Ae2laygDp\"},{\"contestantUsername\":\"andi\",\"contestantRating\":3100,\"totalScores\":100,\"lastAffectingPenalty\":5987307,\"scores\":[null,100],\"rank\":3,\"contestantJid\":\"JIDUSER7uMucIkm1exJTu7sJvxR\"},{\"contestantUsername\":\"dudi\",\"contestantRating\":1651,\"totalScores\":0,\"lastAffectingPenalty\":0,\"scores\":[0,null],\"rank\":4,\"contestantJid\":\"JIDUSER5QiWnVJWzKdjtWtgEfN3\"},{\"contestantUsername\":\"budi\",\"contestantRating\":2300,\"totalScores\":0,\"lastAffectingPenalty\":0,\"scores\":[null,null],\"rank\":4,\"contestantJid\":\"JIDUSERDMZOs8UHqjsw9DGbB31z\"},{\"contestantUsername\":\"emir\",\"contestantRating\":1800,\"totalScores\":0,\"lastAffectingPenalty\":0,\"scores\":[null,null],\"rank\":4,\"contestantJid\":\"JIDUSERXCcE36qmrr8Tm46k3hSV\"}]},\"state\":{\"problemJids\":[\"JIDPROGSxtSvuGAW4IKreFasSY0\",\"JIDPROGw21Ya31fwCuEnNJLlVwO\"],\"problemAliases\":[\"A\",\"B\"],\"problemPoints\":null}}', 'OFFICIAL', '2018-08-20 15:33:27.529', '2023-10-18 14:01:55.355'), ('JIDCONTLaAppdjyu94dGgzpnKqY', '{\"content\":{\"entries\":[{\"answeredItems\":[0,0],\"totalAnsweredItems\":0,\"lastAnsweredTime\":null,\"rank\":1,\"contestantJid\":\"JIDUSERP1gi91MNc1XbXLbPx3dq\"},{\"answeredItems\":[0,0],\"totalAnsweredItems\":0,\"lastAnsweredTime\":null,\"rank\":1,\"contestantJid\":\"JIDUSER5QiWnVJWzKdjtWtgEfN3\"},{\"answeredItems\":[0,0],\"totalAnsweredItems\":0,\"lastAnsweredTime\":null,\"rank\":1,\"contestantJid\":\"JIDUSERDMZOs8UHqjsw9DGbB31z\"},{\"answeredItems\":[0,0],\"totalAnsweredItems\":0,\"lastAnsweredTime\":null,\"rank\":1,\"contestantJid\":\"JIDUSER7uMucIkm1exJTu7sJvxR\"},{\"answeredItems\":[0,0],\"totalAnsweredItems\":0,\"lastAnsweredTime\":null,\"rank\":1,\"contestantJid\":\"JIDUSERXCcE36qmrr8Tm46k3hSV\"},{\"answeredItems\":[0,0],\"totalAnsweredItems\":0,\"lastAnsweredTime\":null,\"rank\":1,\"contestantJid\":\"JIDUSERVfszUmquMh0Ae2laygDp\"}]},\"state\":{\"problemJids\":[\"JIDBUNDcdQcvQ4sB6RgNQ9ryOsp\",\"JIDBUNDKkmglB5WGpSyTTFGScVk\"],\"problemAliases\":[\"A\",\"B\"],\"problemPoints\":null}}', 'OFFICIAL', '2020-01-18 19:20:57.398', '2020-01-18 19:24:57.634'); -- @@ -245,15 +293,15 @@ INSERT INTO `jerahmeel_problem_set_problem` (`problemSetJid`, `problemJid`, `typ -- INSERT INTO `jerahmeel_programming_grading` (`jid`, `submissionJid`, `verdictCode`, `verdictName`, `score`, `details`, `createdAt`, `createdBy`, `updatedAt`, `updatedBy`) VALUES -('JIDGRAD7XfQiYn5JGLKGsfsTsnH', 'JIDSUBMV2em0Eo91zaYkmuA2mMw', 'AC', '', 100, '{\"compilationOutputs\":{\"source\":\"A.cpp: In function \'int main()\':\\nA.cpp:5:18: warning: format \'%d\' expects a matching \'int*\' argument [-Wformat=]\\n scanf(\\\"%d%d\\\", &a);\\n ^\\nA.cpp:5:7: warning: ignoring return value of \'int scanf(const char*, ...)\', declared with attribute warn_unused_result [-Wunused-result]\\n scanf(\\\"%d%d\\\", &a);\\n ~~~~~^~~~~~~~~~~~\\n\"},\"testDataResults\":[{\"id\":0,\"testCaseResults\":[]},{\"id\":-1,\"testCaseResults\":[]}],\"subtaskResults\":[{\"id\":-1,\"verdict\":{\"code\":\"AC\"},\"score\":100.0}]}', '2020-01-18 22:04:42.650', 'JIDUSER7uMucIkm1exJTu7sJvxR', '2020-01-18 22:04:46.582', NULL), -('JIDGRADdOPhgipWlnCRMtyW7H9Y', 'JIDSUBMCQDtcyVEKvsM6XYO2Y3q', 'AC', '', 100, '{\"compilationOutputs\":{\"source\":\"A.cpp: In function \'int main()\':\\nA.cpp:5:18: warning: format \'%d\' expects a matching \'int*\' argument [-Wformat=]\\n scanf(\\\"%d%d\\\", &a);\\n ^\\nA.cpp:5:7: warning: ignoring return value of \'int scanf(const char*, ...)\', declared with attribute warn_unused_result [-Wunused-result]\\n scanf(\\\"%d%d\\\", &a);\\n ~~~~~^~~~~~~~~~~~\\n\"},\"testDataResults\":[{\"id\":0,\"testCaseResults\":[{\"verdict\":{\"code\":\"AC\"},\"score\":\"\",\"executionResult\":{\"status\":\"ZERO_EXIT_CODE\",\"time\":2,\"memory\":320,\"wallTime\":11},\"subtaskIds\":[0]}]},{\"id\":-1,\"testCaseResults\":[{\"verdict\":{\"code\":\"AC\"},\"score\":\"50.0\",\"executionResult\":{\"status\":\"ZERO_EXIT_CODE\",\"time\":2,\"memory\":320,\"wallTime\":5},\"subtaskIds\":[-1]},{\"verdict\":{\"code\":\"AC\"},\"score\":\"50.0\",\"executionResult\":{\"status\":\"ZERO_EXIT_CODE\",\"time\":2,\"memory\":356,\"wallTime\":3},\"subtaskIds\":[-1]}]}],\"subtaskResults\":[{\"id\":-1,\"verdict\":{\"code\":\"AC\"},\"score\":100.0}]}', '2020-01-18 22:05:02.056', 'JIDUSER7uMucIkm1exJTu7sJvxR', '2020-01-18 22:05:02.957', NULL), +('JIDGRAD7XfQiYn5JGLKGsfsTsnH', 'JIDSUBMV2em0Eo91zaYkmuA2mMw', 'AC', '', 100, '{\"compilationOutputs\":{\"source\":\"A.cpp: In function \'int main()\':\\nA.cpp:5:7: warning: ignoring return value of \'int scanf(const char*, ...)\', declared with attribute warn_unused_result [-Wunused-result]\\n scanf(\\\"%d%d\\\", &a);\\n ~~~~~^~~~~~~~~~\\n\"},\"testDataResults\":[{\"id\":0,\"testCaseResults\":[]},{\"id\":-1,\"testCaseResults\":[]}],\"subtaskResults\":[{\"id\":-1,\"verdict\":{\"code\":\"AC\"},\"score\":100.0}]}', '2020-01-18 22:04:42.650', 'JIDUSER7uMucIkm1exJTu7sJvxR', '2020-01-18 22:04:46.582', NULL), +('JIDGRADdOPhgipWlnCRMtyW7H9Y', 'JIDSUBMCQDtcyVEKvsM6XYO2Y3q', 'AC', '', 100, '{\"compilationOutputs\":{\"source\":\"A.cpp: In function \'int main()\':\\nA.cpp:5:7: warning: ignoring return value of \'int scanf(const char*, ...)\', declared with attribute warn_unused_result [-Wunused-result]\\n scanf(\\\"%d%d\\\", &a);\\n ~~~~~^~~~~~~~~~\\n\"},\"testDataResults\":[{\"id\":0,\"testCaseResults\":[{\"verdict\":{\"code\":\"AC\"},\"score\":\"\",\"executionResult\":{\"status\":\"ZERO_EXIT_CODE\",\"time\":2,\"memory\":320,\"wallTime\":11},\"subtaskIds\":[0]}]},{\"id\":-1,\"testCaseResults\":[{\"verdict\":{\"code\":\"AC\"},\"score\":\"50.0\",\"executionResult\":{\"status\":\"ZERO_EXIT_CODE\",\"time\":2,\"memory\":320,\"wallTime\":5},\"subtaskIds\":[-1]},{\"verdict\":{\"code\":\"AC\"},\"score\":\"50.0\",\"executionResult\":{\"status\":\"ZERO_EXIT_CODE\",\"time\":2,\"memory\":356,\"wallTime\":3},\"subtaskIds\":[-1]}]}],\"subtaskResults\":[{\"id\":-1,\"verdict\":{\"code\":\"AC\"},\"score\":100.0}]}', '2020-01-18 22:05:02.056', 'JIDUSER7uMucIkm1exJTu7sJvxR', '2020-01-18 22:05:02.957', NULL), ('JIDGRADhMOmFl1FfkSkkcF5I9uO', 'JIDSUBMFIBGlEGTQxpeZXtLoeTD', 'AC', '', 100, '{\"compilationOutputs\":{\"source\":\"hello.cpp: In function \'int main()\':\\nhello.cpp:6:7: warning: ignoring return value of \'int scanf(const char*, ...)\', declared with attribute warn_unused_result [-Wunused-result]\\n scanf(\\\"%s\\\", s);\\n ~~~~~^~~~~~~~~\\n\"},\"testDataResults\":[{\"id\":0,\"testCaseResults\":[{\"verdict\":{\"code\":\"AC\"},\"score\":\"*\",\"executionResult\":{\"status\":\"ZERO_EXIT_CODE\",\"time\":2,\"memory\":324,\"wallTime\":11},\"subtaskIds\":[0,2]}]},{\"id\":1,\"testCaseResults\":[{\"verdict\":{\"code\":\"AC\"},\"score\":\"*\",\"executionResult\":{\"status\":\"ZERO_EXIT_CODE\",\"time\":2,\"memory\":320,\"wallTime\":6},\"subtaskIds\":[1,2]},{\"verdict\":{\"code\":\"AC\"},\"score\":\"*\",\"executionResult\":{\"status\":\"ZERO_EXIT_CODE\",\"time\":2,\"memory\":356,\"wallTime\":3},\"subtaskIds\":[1,2]}]},{\"id\":2,\"testCaseResults\":[{\"verdict\":{\"code\":\"AC\"},\"score\":\"*\",\"executionResult\":{\"status\":\"ZERO_EXIT_CODE\",\"time\":2,\"memory\":356,\"wallTime\":3},\"subtaskIds\":[2]}]}],\"subtaskResults\":[{\"id\":1,\"verdict\":{\"code\":\"AC\"},\"score\":30.0},{\"id\":2,\"verdict\":{\"code\":\"AC\"},\"score\":70.0}]}', '2020-01-18 22:06:07.701', 'JIDUSER7uMucIkm1exJTu7sJvxR', '2020-01-18 22:06:10.436', NULL), -('JIDGRADbDiq8ytMIRJfXeU3cBTI', 'JIDSUBM4KDniVOMVzMQJEMXNlqd', 'AC', '', 100, '{\"compilationOutputs\":{\"source\":\"A.cpp: In function \'int main()\':\\nA.cpp:5:18: warning: format \'%d\' expects a matching \'int*\' argument [-Wformat=]\\n scanf(\\\"%d%d\\\", &a);\\n ^\\nA.cpp:5:7: warning: ignoring return value of \'int scanf(const char*, ...)\', declared with attribute warn_unused_result [-Wunused-result]\\n scanf(\\\"%d%d\\\", &a);\\n ~~~~~^~~~~~~~~~~~\\n\"},\"testDataResults\":[{\"id\":0,\"testCaseResults\":[{\"verdict\":{\"code\":\"AC\"},\"score\":\"\",\"executionResult\":{\"status\":\"ZERO_EXIT_CODE\",\"time\":2,\"memory\":280,\"wallTime\":11},\"subtaskIds\":[0]}]},{\"id\":-1,\"testCaseResults\":[{\"verdict\":{\"code\":\"AC\"},\"score\":\"50.0\",\"executionResult\":{\"status\":\"ZERO_EXIT_CODE\",\"time\":3,\"memory\":320,\"wallTime\":3},\"subtaskIds\":[-1]},{\"verdict\":{\"code\":\"AC\"},\"score\":\"50.0\",\"executionResult\":{\"status\":\"ZERO_EXIT_CODE\",\"time\":2,\"memory\":356,\"wallTime\":3},\"subtaskIds\":[-1]}]}],\"subtaskResults\":[{\"id\":-1,\"verdict\":{\"code\":\"AC\"},\"score\":100.0}]}', '2020-01-18 22:07:54.555', 'JIDUSER7uMucIkm1exJTu7sJvxR', '2020-01-18 22:07:56.968', NULL), -('JIDGRAD0fZVnolN9V4j5fkOytDE', 'JIDSUBMsj2mVKUY2UqLiIMNEl7U', 'AC', '', 100, '{\"compilationOutputs\":{\"source\":\"A.cpp: In function \'int main()\':\\nA.cpp:5:18: warning: format \'%d\' expects a matching \'int*\' argument [-Wformat=]\\n scanf(\\\"%d%d\\\", &a);\\n ^\\nA.cpp:5:7: warning: ignoring return value of \'int scanf(const char*, ...)\', declared with attribute warn_unused_result [-Wunused-result]\\n scanf(\\\"%d%d\\\", &a);\\n ~~~~~^~~~~~~~~~~~\\n\"},\"testDataResults\":[{\"id\":0,\"testCaseResults\":[{\"verdict\":{\"code\":\"AC\"},\"score\":\"\",\"executionResult\":{\"status\":\"ZERO_EXIT_CODE\",\"time\":2,\"memory\":320,\"wallTime\":11},\"subtaskIds\":[0]}]},{\"id\":-1,\"testCaseResults\":[{\"verdict\":{\"code\":\"AC\"},\"score\":\"50.0\",\"executionResult\":{\"status\":\"ZERO_EXIT_CODE\",\"time\":2,\"memory\":336,\"wallTime\":4},\"subtaskIds\":[-1]},{\"verdict\":{\"code\":\"AC\"},\"score\":\"50.0\",\"executionResult\":{\"status\":\"ZERO_EXIT_CODE\",\"time\":2,\"memory\":356,\"wallTime\":2},\"subtaskIds\":[-1]}]}],\"subtaskResults\":[{\"id\":-1,\"verdict\":{\"code\":\"AC\"},\"score\":100.0}]}', '2020-01-18 22:31:22.997', 'JIDUSERDMZOs8UHqjsw9DGbB31z', '2020-01-18 22:31:26.718', NULL), -('JIDGRADXj7p2LCEtmR5q7f7aptn', 'JIDSUBMaUyN8hIBErqKCenJUFHe', 'AC', '', 100, '{\"compilationOutputs\":{\"source\":\"A.cpp: In function \'int main()\':\\nA.cpp:5:18: warning: format \'%d\' expects a matching \'int*\' argument [-Wformat=]\\n scanf(\\\"%d%d\\\", &a);\\n ^\\nA.cpp:5:7: warning: ignoring return value of \'int scanf(const char*, ...)\', declared with attribute warn_unused_result [-Wunused-result]\\n scanf(\\\"%d%d\\\", &a);\\n ~~~~~^~~~~~~~~~~~\\n\"},\"testDataResults\":[{\"id\":0,\"testCaseResults\":[]},{\"id\":-1,\"testCaseResults\":[]}],\"subtaskResults\":[{\"id\":-1,\"verdict\":{\"code\":\"AC\"},\"score\":100.0}]}', '2020-01-18 22:31:52.410', 'JIDUSERDMZOs8UHqjsw9DGbB31z', '2020-01-18 22:31:53.579', NULL), -('JIDGRADyUgmy2sfVKBDOQv5tJEv', 'JIDSUBM5fPqSOLoRHsssdgMI93a', 'AC', '', 100, '{\"compilationOutputs\":{\"source\":\"A.cpp: In function \'int main()\':\\nA.cpp:5:18: warning: format \'%d\' expects a matching \'int*\' argument [-Wformat=]\\n scanf(\\\"%d%d\\\", &a);\\n ^\\nA.cpp:5:7: warning: ignoring return value of \'int scanf(const char*, ...)\', declared with attribute warn_unused_result [-Wunused-result]\\n scanf(\\\"%d%d\\\", &a);\\n ~~~~~^~~~~~~~~~~~\\n\"},\"testDataResults\":[{\"id\":0,\"testCaseResults\":[]},{\"id\":-1,\"testCaseResults\":[]}],\"subtaskResults\":[{\"id\":-1,\"verdict\":{\"code\":\"AC\"},\"score\":100.0}]}', '2020-01-18 22:32:27.443', 'JIDUSERVfszUmquMh0Ae2laygDp', '2020-01-18 22:32:30.756', NULL), +('JIDGRADbDiq8ytMIRJfXeU3cBTI', 'JIDSUBM4KDniVOMVzMQJEMXNlqd', 'AC', '', 100, '{\"compilationOutputs\":{\"source\":\"A.cpp: In function \'int main()\':\\nA.cpp:5:7: warning: ignoring return value of \'int scanf(const char*, ...)\', declared with attribute warn_unused_result [-Wunused-result]\\n scanf(\\\"%d%d\\\", &a);\\n ~~~~~^~~~~~~~~~\\n\"},\"testDataResults\":[{\"id\":0,\"testCaseResults\":[{\"verdict\":{\"code\":\"AC\"},\"score\":\"\",\"executionResult\":{\"status\":\"ZERO_EXIT_CODE\",\"time\":2,\"memory\":280,\"wallTime\":11},\"subtaskIds\":[0]}]},{\"id\":-1,\"testCaseResults\":[{\"verdict\":{\"code\":\"AC\"},\"score\":\"50.0\",\"executionResult\":{\"status\":\"ZERO_EXIT_CODE\",\"time\":3,\"memory\":320,\"wallTime\":3},\"subtaskIds\":[-1]},{\"verdict\":{\"code\":\"AC\"},\"score\":\"50.0\",\"executionResult\":{\"status\":\"ZERO_EXIT_CODE\",\"time\":2,\"memory\":356,\"wallTime\":3},\"subtaskIds\":[-1]}]}],\"subtaskResults\":[{\"id\":-1,\"verdict\":{\"code\":\"AC\"},\"score\":100.0}]}', '2020-01-18 22:07:54.555', 'JIDUSER7uMucIkm1exJTu7sJvxR', '2020-01-18 22:07:56.968', NULL), +('JIDGRAD0fZVnolN9V4j5fkOytDE', 'JIDSUBMsj2mVKUY2UqLiIMNEl7U', 'AC', '', 100, '{\"compilationOutputs\":{\"source\":\"A.cpp: In function \'int main()\':\\nA.cpp:5:7: warning: ignoring return value of \'int scanf(const char*, ...)\', declared with attribute warn_unused_result [-Wunused-result]\\n scanf(\\\"%d%d\\\", &a);\\n ~~~~~^~~~~~~~~~\\n\"},\"testDataResults\":[{\"id\":0,\"testCaseResults\":[{\"verdict\":{\"code\":\"AC\"},\"score\":\"\",\"executionResult\":{\"status\":\"ZERO_EXIT_CODE\",\"time\":2,\"memory\":320,\"wallTime\":11},\"subtaskIds\":[0]}]},{\"id\":-1,\"testCaseResults\":[{\"verdict\":{\"code\":\"AC\"},\"score\":\"50.0\",\"executionResult\":{\"status\":\"ZERO_EXIT_CODE\",\"time\":2,\"memory\":336,\"wallTime\":4},\"subtaskIds\":[-1]},{\"verdict\":{\"code\":\"AC\"},\"score\":\"50.0\",\"executionResult\":{\"status\":\"ZERO_EXIT_CODE\",\"time\":2,\"memory\":356,\"wallTime\":2},\"subtaskIds\":[-1]}]}],\"subtaskResults\":[{\"id\":-1,\"verdict\":{\"code\":\"AC\"},\"score\":100.0}]}', '2020-01-18 22:31:22.997', 'JIDUSERDMZOs8UHqjsw9DGbB31z', '2020-01-18 22:31:26.718', NULL), +('JIDGRADXj7p2LCEtmR5q7f7aptn', 'JIDSUBMaUyN8hIBErqKCenJUFHe', 'AC', '', 100, '{\"compilationOutputs\":{\"source\":\"A.cpp: In function \'int main()\':\\nA.cpp:5:7: warning: ignoring return value of \'int scanf(const char*, ...)\', declared with attribute warn_unused_result [-Wunused-result]\\n scanf(\\\"%d%d\\\", &a);\\n ~~~~~^~~~~~~~~~\\n\"},\"testDataResults\":[{\"id\":0,\"testCaseResults\":[]},{\"id\":-1,\"testCaseResults\":[]}],\"subtaskResults\":[{\"id\":-1,\"verdict\":{\"code\":\"AC\"},\"score\":100.0}]}', '2020-01-18 22:31:52.410', 'JIDUSERDMZOs8UHqjsw9DGbB31z', '2020-01-18 22:31:53.579', NULL), +('JIDGRADyUgmy2sfVKBDOQv5tJEv', 'JIDSUBM5fPqSOLoRHsssdgMI93a', 'AC', '', 100, '{\"compilationOutputs\":{\"source\":\"A.cpp: In function \'int main()\':\\nA.cpp:5:7: warning: ignoring return value of \'int scanf(const char*, ...)\', declared with attribute warn_unused_result [-Wunused-result]\\n scanf(\\\"%d%d\\\", &a);\\n ~~~~~^~~~~~~~~~\\n\"},\"testDataResults\":[{\"id\":0,\"testCaseResults\":[]},{\"id\":-1,\"testCaseResults\":[]}],\"subtaskResults\":[{\"id\":-1,\"verdict\":{\"code\":\"AC\"},\"score\":100.0}]}', '2020-01-18 22:32:27.443', 'JIDUSERVfszUmquMh0Ae2laygDp', '2020-01-18 22:32:30.756', NULL), ('JIDGRADMZyJb1TiAR0PuRQs1bjC', 'JIDSUBMxm6eXnTKxDj046l6yD7Z', 'WA', '', 30, '{\"compilationOutputs\":{\"source\":\"hello.cpp: In function \'int main()\':\\nhello.cpp:7:7: warning: ignoring return value of \'int scanf(const char*, ...)\', declared with attribute warn_unused_result [-Wunused-result]\\n scanf(\\\"%s\\\", s);\\n ~~~~~^~~~~~~~~\\n\"},\"testDataResults\":[{\"id\":0,\"testCaseResults\":[{\"verdict\":{\"code\":\"WA\"},\"score\":\"X\",\"executionResult\":{\"status\":\"ZERO_EXIT_CODE\",\"time\":2,\"memory\":324,\"wallTime\":10},\"subtaskIds\":[0,2]}]},{\"id\":1,\"testCaseResults\":[{\"verdict\":{\"code\":\"AC\"},\"score\":\"*\",\"executionResult\":{\"status\":\"ZERO_EXIT_CODE\",\"time\":2,\"memory\":320,\"wallTime\":5},\"subtaskIds\":[1,2]},{\"verdict\":{\"code\":\"AC\"},\"score\":\"*\",\"executionResult\":{\"status\":\"ZERO_EXIT_CODE\",\"time\":2,\"memory\":356,\"wallTime\":2},\"subtaskIds\":[1,2]}]},{\"id\":2,\"testCaseResults\":[{\"verdict\":{\"code\":\"SKP\"},\"score\":\"?\",\"executionResult\":null,\"subtaskIds\":[2]}]}],\"subtaskResults\":[{\"id\":1,\"verdict\":{\"code\":\"AC\"},\"score\":30.0},{\"id\":2,\"verdict\":{\"code\":\"WA\"},\"score\":0.0}]}', '2020-01-18 22:33:20.351', 'JIDUSERVfszUmquMh0Ae2laygDp', '2020-01-18 22:33:22.349', NULL), -('JIDGRADgfq3fKHiz6ImhdzX9TYD', 'JIDSUBMtXWk5Sh2Vuw2KyoPVaeG', 'WA', '', 0, '{\"compilationOutputs\":{\"source\":\"A.cpp: In function \'int main()\':\\nA.cpp:5:18: warning: format \'%d\' expects a matching \'int*\' argument [-Wformat=]\\n scanf(\\\"%d%d\\\", &a);\\n ^\\nA.cpp:5:7: warning: ignoring return value of \'int scanf(const char*, ...)\', declared with attribute warn_unused_result [-Wunused-result]\\n scanf(\\\"%d%d\\\", &a);\\n ~~~~~^~~~~~~~~~~~\\n\"},\"testDataResults\":[{\"id\":0,\"testCaseResults\":[{\"verdict\":{\"code\":\"WA\"},\"score\":\"X\",\"executionResult\":{\"status\":\"ZERO_EXIT_CODE\",\"time\":2,\"memory\":324,\"wallTime\":10},\"subtaskIds\":[0,2]}]},{\"id\":1,\"testCaseResults\":[{\"verdict\":{\"code\":\"WA\"},\"score\":\"X\",\"executionResult\":{\"status\":\"ZERO_EXIT_CODE\",\"time\":2,\"memory\":336,\"wallTime\":7},\"subtaskIds\":[1,2]},{\"verdict\":{\"code\":\"SKP\"},\"score\":\"?\",\"executionResult\":null,\"subtaskIds\":[1,2]}]},{\"id\":2,\"testCaseResults\":[{\"verdict\":{\"code\":\"SKP\"},\"score\":\"?\",\"executionResult\":null,\"subtaskIds\":[2]}]}],\"subtaskResults\":[{\"id\":1,\"verdict\":{\"code\":\"WA\"},\"score\":0.0},{\"id\":2,\"verdict\":{\"code\":\"WA\"},\"score\":0.0}]}', '2020-01-18 22:35:33.987', 'JIDUSER5QiWnVJWzKdjtWtgEfN3', '2020-01-18 22:35:36.123', NULL); +('JIDGRADgfq3fKHiz6ImhdzX9TYD', 'JIDSUBMtXWk5Sh2Vuw2KyoPVaeG', 'WA', '', 0, '{\"compilationOutputs\":{\"source\":\"A.cpp: In function \'int main()\':\\nA.cpp:5:7: warning: ignoring return value of \'int scanf(const char*, ...)\', declared with attribute warn_unused_result [-Wunused-result]\\n scanf(\\\"%d%d\\\", &a);\\n ~~~~~^~~~~~~~~~\\n\"},\"testDataResults\":[{\"id\":0,\"testCaseResults\":[{\"verdict\":{\"code\":\"WA\"},\"score\":\"X\",\"executionResult\":{\"status\":\"ZERO_EXIT_CODE\",\"time\":2,\"memory\":324,\"wallTime\":10},\"subtaskIds\":[0,2]}]},{\"id\":1,\"testCaseResults\":[{\"verdict\":{\"code\":\"WA\"},\"score\":\"X\",\"executionResult\":{\"status\":\"ZERO_EXIT_CODE\",\"time\":2,\"memory\":336,\"wallTime\":7},\"subtaskIds\":[1,2]},{\"verdict\":{\"code\":\"SKP\"},\"score\":\"?\",\"executionResult\":null,\"subtaskIds\":[1,2]}]},{\"id\":2,\"testCaseResults\":[{\"verdict\":{\"code\":\"SKP\"},\"score\":\"?\",\"executionResult\":null,\"subtaskIds\":[2]}]}],\"subtaskResults\":[{\"id\":1,\"verdict\":{\"code\":\"WA\"},\"score\":0.0},{\"id\":2,\"verdict\":{\"code\":\"WA\"},\"score\":0.0}]}', '2020-01-18 22:35:33.987', 'JIDUSER5QiWnVJWzKdjtWtgEfN3', '2020-01-18 22:35:36.123', NULL); -- -- Dumping data for table `jerahmeel_programming_submission` @@ -312,4 +360,22 @@ INSERT INTO `sandalphon_problem` (`jid`, `slug`, `additionalNote`, `createdAt`, ('JIDBUNDKkmglB5WGpSyTTFGScVk', 'bundle-2', '', '2020-01-18 11:56:13.741', 'JIDUSERDMZOs8UHqjsw9DGbB31z', '2020-01-18 11:59:04.140', 'JIDUSERDMZOs8UHqjsw9DGbB31z'), ('JIDPROGcKIp3DeCOcLRdz9TX5n9', 'batch-2', '', '2020-01-18 17:53:13.053', 'JIDUSERDMZOs8UHqjsw9DGbB31z', '2020-01-18 17:55:40.082', 'JIDUSERDMZOs8UHqjsw9DGbB31z'); +-- +-- Dumping data for table `sandalphon_programming_grading` +-- + +INSERT INTO `sandalphon_programming_grading` (`jid`, `submissionJid`, `verdictCode`, `verdictName`, `score`, `details`, `createdAt`, `createdBy`, `updatedAt`, `updatedBy`) VALUES +('JIDGRADfIjQIpFk3hsdNcTEpoTc', 'JIDSUBMCr0J2e1hoypm52YBIDkD', 'AC', '', 100, '{\"compilationOutputs\":{\"source\":\"A.cpp: In function \'int main()\':\\nA.cpp:5:14: warning: ignoring return value of \'int scanf(const char*, ...)\' declared with attribute \'warn_unused_result\' [-Wunused-result]\\n 5 | scanf(\\\"%d%d\\\", &a);\\n | ~~~~~^~~~~~~~~~\\n\"},\"testDataResults\":[{\"id\":0,\"testCaseResults\":[{\"verdict\":{\"code\":\"AC\"},\"score\":\"\",\"executionResult\":{\"status\":\"ZERO_EXIT_CODE\",\"time\":1,\"memory\":200,\"wallTime\":1},\"subtaskIds\":[0]}]},{\"id\":-1,\"testCaseResults\":[{\"verdict\":{\"code\":\"AC\"},\"score\":\"50.0\",\"executionResult\":{\"status\":\"ZERO_EXIT_CODE\",\"time\":1,\"memory\":196,\"wallTime\":1},\"subtaskIds\":[-1]},{\"verdict\":{\"code\":\"AC\"},\"score\":\"50.0\",\"executionResult\":{\"status\":\"ZERO_EXIT_CODE\",\"time\":1,\"memory\":196,\"wallTime\":2},\"subtaskIds\":[-1]}]}],\"subtaskResults\":[{\"id\":-1,\"verdict\":{\"code\":\"AC\"},\"score\":100.0}]}', '2023-10-18 15:05:56.728', 'JIDUSER7uMucIkm1exJTu7sJvxR', '2023-10-18 15:05:59.081', NULL), +('JIDGRADVmiJmWRn3whHdhjcbnhf', 'JIDSUBMoeOGnKuOPzn4G6WFv6H9', 'AC', '', 100, '{\"compilationOutputs\":{\"source\":\"B.cpp: In function \'int main()\':\\nB.cpp:7:14: warning: ignoring return value of \'int scanf(const char*, ...)\' declared with attribute \'warn_unused_result\' [-Wunused-result]\\n 7 | scanf(\\\"%s\\\", s);\\n | ~~~~~^~~~~~~~~\\n\"},\"testDataResults\":[{\"id\":0,\"testCaseResults\":[{\"verdict\":{\"code\":\"AC\"},\"score\":\"*\",\"executionResult\":{\"status\":\"ZERO_EXIT_CODE\",\"time\":1,\"memory\":200,\"wallTime\":1},\"subtaskIds\":[0,2]}]},{\"id\":1,\"testCaseResults\":[{\"verdict\":{\"code\":\"AC\"},\"score\":\"*\",\"executionResult\":{\"status\":\"ZERO_EXIT_CODE\",\"time\":1,\"memory\":196,\"wallTime\":1},\"subtaskIds\":[1,2]},{\"verdict\":{\"code\":\"AC\"},\"score\":\"*\",\"executionResult\":{\"status\":\"ZERO_EXIT_CODE\",\"time\":1,\"memory\":196,\"wallTime\":1},\"subtaskIds\":[1,2]}]},{\"id\":2,\"testCaseResults\":[{\"verdict\":{\"code\":\"AC\"},\"score\":\"*\",\"executionResult\":{\"status\":\"ZERO_EXIT_CODE\",\"time\":1,\"memory\":196,\"wallTime\":2},\"subtaskIds\":[2]}]}],\"subtaskResults\":[{\"id\":1,\"verdict\":{\"code\":\"AC\"},\"score\":30.0},{\"id\":2,\"verdict\":{\"code\":\"AC\"},\"score\":70.0}]}', '2023-10-18 15:08:24.006', 'JIDUSERDMZOs8UHqjsw9DGbB31z', '2023-10-18 15:08:27.167', NULL), +('JIDGRADdN60gsNXCkY5AtoQSkBo', 'JIDSUBMsMXVIHmoCwOepUyEVH0t', 'WA', '', 30, '{\"compilationOutputs\":{\"source\":\"B.cpp: In function \'int main()\':\\nB.cpp:7:14: warning: ignoring return value of \'int scanf(const char*, ...)\' declared with attribute \'warn_unused_result\' [-Wunused-result]\\n 7 | scanf(\\\"%s\\\", s);\\n | ~~~~~^~~~~~~~~\\n\"},\"testDataResults\":[{\"id\":0,\"testCaseResults\":[{\"verdict\":{\"code\":\"WA\"},\"score\":\"X\",\"executionResult\":{\"status\":\"ZERO_EXIT_CODE\",\"time\":1,\"memory\":200,\"wallTime\":1},\"subtaskIds\":[0,2]}]},{\"id\":1,\"testCaseResults\":[{\"verdict\":{\"code\":\"AC\"},\"score\":\"*\",\"executionResult\":{\"status\":\"ZERO_EXIT_CODE\",\"time\":1,\"memory\":196,\"wallTime\":2},\"subtaskIds\":[1,2]},{\"verdict\":{\"code\":\"AC\"},\"score\":\"*\",\"executionResult\":{\"status\":\"ZERO_EXIT_CODE\",\"time\":1,\"memory\":196,\"wallTime\":2},\"subtaskIds\":[1,2]}]},{\"id\":2,\"testCaseResults\":[{\"verdict\":{\"code\":\"SKP\"},\"score\":\"?\",\"executionResult\":null,\"subtaskIds\":[2]}]}],\"subtaskResults\":[{\"id\":1,\"verdict\":{\"code\":\"AC\"},\"score\":30.0},{\"id\":2,\"verdict\":{\"code\":\"WA\"},\"score\":0.0}]}', '2023-10-18 15:08:42.709', 'JIDUSERDMZOs8UHqjsw9DGbB31z', '2023-10-18 15:08:45.191', NULL); + +-- +-- Dumping data for table `sandalphon_programming_submission` +-- + +INSERT INTO `sandalphon_programming_submission` (`jid`, `containerJid`, `problemJid`, `gradingEngine`, `gradingLanguage`, `createdAt`, `createdBy`, `updatedAt`, `updatedBy`) VALUES +('JIDSUBMCr0J2e1hoypm52YBIDkD', 'JIDPROGSxtSvuGAW4IKreFasSY0', 'JIDPROGSxtSvuGAW4IKreFasSY0', 'Batch', 'Cpp20', '2023-10-18 15:05:56.725', 'JIDUSER7uMucIkm1exJTu7sJvxR', '2023-10-18 15:05:56.725', 'JIDUSER7uMucIkm1exJTu7sJvxR'), +('JIDSUBMoeOGnKuOPzn4G6WFv6H9', 'JIDPROGw21Ya31fwCuEnNJLlVwO', 'JIDPROGw21Ya31fwCuEnNJLlVwO', 'BatchWithSubtasks', 'Cpp20', '2023-10-18 15:08:24.004', 'JIDUSERDMZOs8UHqjsw9DGbB31z', '2023-10-18 15:08:24.004', 'JIDUSERDMZOs8UHqjsw9DGbB31z'), +('JIDSUBMsMXVIHmoCwOepUyEVH0t', 'JIDPROGw21Ya31fwCuEnNJLlVwO', 'JIDPROGw21Ya31fwCuEnNJLlVwO', 'BatchWithSubtasks', 'Cpp20', '2023-10-18 15:08:42.707', 'JIDUSERDMZOs8UHqjsw9DGbB31z', '2023-10-18 15:08:42.707', 'JIDUSERDMZOs8UHqjsw9DGbB31z'); + COMMIT; diff --git a/seeds/problems.tar.gz b/seeds/problems.tar.gz index 72829c028..fe0f82c80 100644 Binary files a/seeds/problems.tar.gz and b/seeds/problems.tar.gz differ diff --git a/seeds/submissions.tar.gz b/seeds/submissions.tar.gz index 3c4be1ba0..1160d04d3 100644 Binary files a/seeds/submissions.tar.gz and b/seeds/submissions.tar.gz differ