From 7085fa75a85c2ca2f9089da9ad60e4e505405063 Mon Sep 17 00:00:00 2001 From: kasterra Date: Fri, 24 May 2024 16:03:04 +0900 Subject: [PATCH] feat(submitModal) : add tooltip for using int main in c lang --- .../$lectureId+/$practiceId+/$labId/SubmitModal.tsx | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/app/routes/_procted+/lectures+/$lectureId+/$practiceId+/$labId/SubmitModal.tsx b/app/routes/_procted+/lectures+/$lectureId+/$practiceId+/$labId/SubmitModal.tsx index e2655f0..1a9a3a2 100644 --- a/app/routes/_procted+/lectures+/$lectureId+/$practiceId+/$labId/SubmitModal.tsx +++ b/app/routes/_procted+/lectures+/$lectureId+/$practiceId+/$labId/SubmitModal.tsx @@ -142,6 +142,12 @@ const SubmitModal = ({ isOpen, onClose }: Props) => { value={code} onChange={setCode} /> + {language === "c" ? ( + + void main()은 비표준 입니다.
+ 정상적인 채점 결과를 위해 int main을 사용해 주세요 +
+ ) : null} {language === "java" ? ( Java에서 코드 작성 제출의 경우 엔트리 포인트 클래스 이름이