제출 언어 실행 환경

테스트 실행과 정식 제출에 적용되는 도구와 명령입니다.

채점 서버에서 확인한 환경

C++

C++17 · -O2

채점 도구
GCC 13.3.0 (g++)
준비 명령
/usr/bin/g++ -std=c++17 -O2 -pipe -fdiagnostics-color=never -fdiagnostics-column-unit=byte -fmessage-length=0 main.cpp -o main
실행 명령
/box/main

C

C17 · -O2 · -lm

채점 도구
GCC 13.3.0 (gcc)
준비 명령
/usr/bin/gcc -std=c17 -O2 -pipe -fdiagnostics-color=never -fdiagnostics-column-unit=byte -fmessage-length=0 main.c -lm -o main
실행 명령
/box/main

Python

격리 모드(-I) · 표준 라이브러리

채점 도구
Python 3.12.3
준비 명령
/usr/bin/python3 -I -B -m py_compile main.py
실행 명령
/usr/bin/python3 -I -B /box/main.py

JavaScript

Node.js 기본 모듈

채점 도구
Node.js 24.20.0
준비 명령
/usr/local/bin/node --check main.js
실행 명령
/usr/local/bin/node --max-old-space-size={max(8, floor(memory_bytes / 1048576) - 32)} /box/main.js

TypeScript

ES2022 · CommonJS · strict · Node.js 기본 모듈과 @types/node

채점 도구
TypeScript 5.9.3, Node.js 24.20.0, @types/node 24.10.1
준비 명령
/usr/local/bin/node --max-old-space-size=256 /usr/local/lib/ps-typescript/node_modules/typescript/bin/tsc main.ts --target ES2022 --module commonjs --strict --skipLibCheck --noEmitOnError --typeRoots /usr/local/lib/ps-typescript/node_modules/@types
실행 명령
/usr/local/bin/node --max-old-space-size={max(8, floor(memory_bytes / 1048576) - 32)} /box/main.js

코드 분석과 채점

코드 분석은 별도 서비스에서 제공하므로 실제 채점 결과와 다를 수 있습니다.