From 11b5f7f2facfdf6e74dd9386769d08654043956f Mon Sep 17 00:00:00 2001 From: Kohminchae Date: Tue, 3 Aug 2021 02:54:47 +0900 Subject: [PATCH 1/6] =?UTF-8?q?time=20limit,=20memory=20limit=20=EC=B6=9C?= =?UTF-8?q?=EB=A0=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/pages/oj/views/problem/Problem.vue | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/frontend/src/pages/oj/views/problem/Problem.vue b/frontend/src/pages/oj/views/problem/Problem.vue index 9382977ff..d8caf6606 100644 --- a/frontend/src/pages/oj/views/problem/Problem.vue +++ b/frontend/src/pages/oj/views/problem/Problem.vue @@ -159,6 +159,12 @@
{{sample.output}}
+ +
@@ -250,9 +256,10 @@ export default { username: '' }, tags: [], - io_mode: { io_mode: 'Standard IO' } + io_mode: { io_mode: 'Standard IO' }, + memory_limit: '', + time_limit: '' }, - // CodeMirror code: '', language: 'C++', From b9eb107d63c7195c21620b154800eeb5f82237f7 Mon Sep 17 00:00:00 2001 From: Jimin Ha Date: Wed, 4 Aug 2021 21:31:23 +0900 Subject: [PATCH 2/6] Add unit to time, memory limit --- frontend/src/pages/oj/views/problem/Problem.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/pages/oj/views/problem/Problem.vue b/frontend/src/pages/oj/views/problem/Problem.vue index d8caf6606..74998bc9a 100644 --- a/frontend/src/pages/oj/views/problem/Problem.vue +++ b/frontend/src/pages/oj/views/problem/Problem.vue @@ -160,7 +160,7 @@
{{sample.output}}
From 8a5b4f5891c7398bd082773b48bd59520f527b82 Mon Sep 17 00:00:00 2001 From: Jimin Ha Date: Mon, 2 Aug 2021 11:23:21 +0900 Subject: [PATCH 3/6] =?UTF-8?q?Show=20Submission=20Detail=20for=20user=20r?= =?UTF-8?q?oot=20=EA=B0=80=20=EC=95=84=EB=8B=8C=20=EC=9D=BC=EB=B0=98=20?= =?UTF-8?q?=EC=9C=A0=EC=A0=80=EC=9D=98=20=EA=B2=BD=EC=9A=B0=20submission-d?= =?UTF-8?q?etail=EC=9D=84=20=EB=B3=BC=20=EC=88=98=20=EC=97=86=EB=8A=94=20?= =?UTF-8?q?=EA=B2=BD=EC=9A=B0=EA=B0=80=20=EC=9E=88=EC=96=B4=20=EC=88=98?= =?UTF-8?q?=EC=A0=95=20(user=EC=9D=98=20=EA=B2=BD=EC=9A=B0=20testcase=20?= =?UTF-8?q?=EC=A0=95=EB=B3=B4=EB=8A=94=20=EB=B3=BC=EC=88=98=20=EC=97=86?= =?UTF-8?q?=EC=9D=8C)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/pages/oj/views/problem/ProblemSidebar.vue | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/frontend/src/pages/oj/views/problem/ProblemSidebar.vue b/frontend/src/pages/oj/views/problem/ProblemSidebar.vue index 59fc6fe5f..5c092996f 100644 --- a/frontend/src/pages/oj/views/problem/ProblemSidebar.vue +++ b/frontend/src/pages/oj/views/problem/ProblemSidebar.vue @@ -157,7 +157,8 @@ + :fields="submission_detail_table_fields" + v-show="submission_detail.testcases"> @@ -339,7 +340,7 @@ export default { create_time: time.utcToLocal(data.create_time, 'YYYY-MM-DD HH:mm'), result: JUDGE_STATUS[data.result].name, bytes: new Blob([data.code]).size, - testcases: data.info.data && data.info.data.map( + testcases: data.info && data.info.data && data.info.data.map( tc => { return { title: tc.test_case, From c4aabec505307a5a61139f775fa407613fbb2f6b Mon Sep 17 00:00:00 2001 From: Jimin Ha Date: Wed, 4 Aug 2021 22:26:48 +0900 Subject: [PATCH 4/6] Change time limit unit to English --- frontend/src/pages/oj/views/problem/Problem.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/pages/oj/views/problem/Problem.vue b/frontend/src/pages/oj/views/problem/Problem.vue index 74998bc9a..c05517b9f 100644 --- a/frontend/src/pages/oj/views/problem/Problem.vue +++ b/frontend/src/pages/oj/views/problem/Problem.vue @@ -160,7 +160,7 @@
{{sample.output}}
From d5c2478dd98475df8e81541b0ba609fbf30c7c6f Mon Sep 17 00:00:00 2001 From: Jimin Ha Date: Wed, 4 Aug 2021 22:46:15 +0900 Subject: [PATCH 5/6] Revise location of time/memory limit & revise time limit unit to ms --- frontend/src/pages/oj/views/problem/Problem.vue | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/frontend/src/pages/oj/views/problem/Problem.vue b/frontend/src/pages/oj/views/problem/Problem.vue index c05517b9f..cdc1f0eb0 100644 --- a/frontend/src/pages/oj/views/problem/Problem.vue +++ b/frontend/src/pages/oj/views/problem/Problem.vue @@ -159,18 +159,18 @@
{{sample.output}}
- -

Hint

+ + From b3ac7aec56c93ffd4787805ccbabed1646882429 Mon Sep 17 00:00:00 2001 From: SOLBI1028 Date: Fri, 6 Aug 2021 01:48:01 +0900 Subject: [PATCH 6/6] =?UTF-8?q?contest=20problem=EC=9D=84=20=ED=95=B4?= =?UTF-8?q?=EA=B2=B0=ED=96=88=EC=9D=84=20=EB=95=8C=20problem=20title=20?= =?UTF-8?q?=EC=98=86=EC=97=90=20=EC=95=84=EC=9D=B4=EC=BD=98=20=EC=B6=94?= =?UTF-8?q?=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/pages/oj/views/contest/ContestDetail.vue | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/frontend/src/pages/oj/views/contest/ContestDetail.vue b/frontend/src/pages/oj/views/contest/ContestDetail.vue index 71b449d9d..6c4f07aa0 100644 --- a/frontend/src/pages/oj/views/contest/ContestDetail.vue +++ b/frontend/src/pages/oj/views/contest/ContestDetail.vue @@ -28,6 +28,14 @@ head-variant="light" @row-clicked="goContestProblem" > +