Skip to content

Commit 5fe893c

Browse files
committed
fix: compile command
1 parent ffcf275 commit 5fe893c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/constants/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ export const LANG_CONFIGS: Record<
5757
> = {
5858
cpp: {
5959
image: 'gcc:latest',
60-
compile: ['pwd'],
60+
compile: ['g++', 'solution.cpp', '-o', 'solution'],
6161
run: ['./solution'],
6262
defaultCode: `#include <iostream>
6363
using namespace std;

0 commit comments

Comments
 (0)