mirror of
https://github.com/massbug/judge4c.git
synced 2025-05-18 15:26:33 +00:00
34 lines
584 B
TypeScript
34 lines
584 B
TypeScript
export interface LanguageConfig {
|
|
id: string;
|
|
label: string;
|
|
fileName: string;
|
|
extension: string;
|
|
image: string;
|
|
tag: string;
|
|
workingDir: string;
|
|
timeout: number;
|
|
}
|
|
|
|
export const LanguageConfigs: Record<string, LanguageConfig> = {
|
|
c: {
|
|
id: "c",
|
|
label: "C",
|
|
fileName: "main",
|
|
extension: "c",
|
|
image: "gcc",
|
|
tag: "latest",
|
|
workingDir: "/src",
|
|
timeout: 1000,
|
|
},
|
|
cpp: {
|
|
id: "cpp",
|
|
label: "C++",
|
|
fileName: "main",
|
|
extension: "cpp",
|
|
image: "gcc",
|
|
tag: "latest",
|
|
workingDir: "/src",
|
|
timeout: 1000,
|
|
},
|
|
};
|