Skip to content
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.

Commit

Permalink
feat(submitModal) : add tooltip for using int main in c lang
Browse files Browse the repository at this point in the history
  • Loading branch information
kasterra committed May 24, 2024
1 parent 88a8566 commit 7085fa7
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,12 @@ const SubmitModal = ({ isOpen, onClose }: Props) => {
value={code}
onChange={setCode}
/>
{language === "c" ? (
<span style={{ color: "red" }}>
void main()은 비표준 입니다. <br />
정상적인 채점 결과를 위해 int main을 사용해 주세요
</span>
) : null}
{language === "java" ? (
<span style={{ color: "red" }}>
Java에서 코드 작성 제출의 경우 엔트리 포인트 클래스 이름이
Expand Down

0 comments on commit 7085fa7

Please sign in to comment.