어디서 time limit exceed가 뜨는지 모르겠습니다.

YOONYOUNGIL Reply 9 years 2 weeks ago
어떤 부분에서 뜨는건가요?
YOONYOUNGIL Reply 9 years 2 weeks ago
뭐 때문인지 알았습니다.
YOONYOUNGIL Reply 9 years 2 weeks ago
다시 생각해봤는데 뭐 때문인지 모르겠어요ㅜㅜ 알려주세요
pichulia Reply 9 years 2 weeks ago
for(i = 0; (s[i] = getchar()) != '\n'; ++i) 때문일겁니다. 마지막줄은 '\n'대신 EOF가 들어옵니다.