강의

멘토링

커뮤니티

Inflearn Community Q&A

myml's profile image
myml

asked

Introduction to Python Algorithm Problem Solving (Coding Test Preparation)

채점 프로그램 System.AggregationException 에러가 뜹니다 ㅠㅠ

Written on

·

483

2

안녕하세요, System.AggregateException 에러가 뜨면서 채점 프로그램이 실행이 되지 않네요.

소스코드 폴더에 있는 프로그램을 AA.py 로 변경하여 실행했고 Python 3.8.5(공식 사이트 최신버전) 설치했으며 PATH 추가도 하였습니다. ㅠㅠ

python코테 준비 같이 해요!

Answer 1

1

codingcamp님의 프로필 이미지
codingcamp
Instructor

안녕하세요^^ 

파일입출력을 하면 안됩니다. 채점할때는 파일입출력 줄을 주석처리하세요.

sys.stdin=open("input.txt", "rt") 이 줄을

#sys.stdin=open("input.txt", "rt")과 같이 #을 해서 주석처리하고 채점해보세요.

myml's profile image
myml

asked

Ask a question