1620번 - 나는야 포켓몬 마스터 이다솜
적절한 자료구조를 사용했는데도 불구하고 시간초과가 발생한다면 cin, cout. std::endl 문제입니다.
std::cin.tie(nullptr)와 std::ios_base::sync_with_stdio(false) 했다고 안심하지 마시고 std::endl도 '\n'으로 꼭 수정해주세요.
댓글을 작성하려면 로그인해야 합니다.
an0520a 3년 전 1
적절한 자료구조를 사용했는데도 불구하고 시간초과가 발생한다면 cin, cout. std::endl 문제입니다.
std::cin.tie(nullptr)와 std::ios_base::sync_with_stdio(false) 했다고 안심하지 마시고 std::endl도 '\n'으로 꼭 수정해주세요.