;
10 | }
11 |
--------------------------------------------------------------------------------
/fe/src/hooks/simulation/types.ts:
--------------------------------------------------------------------------------
1 | export type SimulationInput = {
2 | id: number;
3 | input: string;
4 | expected: string;
5 | changable: boolean;
6 | };
7 |
8 | export type SimulationResult = {
9 | id: number;
10 | isDone: boolean;
11 | input: string;
12 | output: unknown;
13 | expected: string;
14 | logs: string[];
15 | };
16 |
--------------------------------------------------------------------------------
/fe/src/components/Common/Modal/ModalContext.ts:
--------------------------------------------------------------------------------
1 | import { createContext } from 'react';
2 |
3 | interface ModalContextProps {
4 | isOpen: boolean;
5 | close: () => void;
6 | open: () => void;
7 | }
8 |
9 | export const ModalContext = createContext정확성: 40.0
17 |합계: 40.0 / 100.0
18 | > 19 | ) : ( 20 || 문제 이름 | 22 |문제 추가 | 23 |
|---|---|
| {title} | 29 |
36 | |
38 |
| 문제 이름 | 22 |문제 삭제 | 23 |
|---|---|
| {title} | 29 |
36 | |
38 |