Algorithm

프로그래머스 EOFError: EOF when reading a line

이무기뱀술 2023. 11. 9. 18:24
728x90

프로그래머스에서 EOFError: EOF when reading a line가 발생하는 이유

프로그래머스는 solution(s)가 바로 실행되기 때문에 s를 가지고 지지고 볶고하면 된다.

즉 input(),  sys.stdin.readline() 등등은 필요없다는 것이다

 

이거 몰라서 해맸다

728x90