어제 E번 문제에서 editorial이랑 거의 코드가 동일한데 왜이리 시간 차이가 많이 남?
https://atcoder.jp/contests/abc209/editorial/2237
https://atcoder.jp/contests/abc209/submissions/24147253
(IOS랑 cin.tie 박을 경우) Editorial은 300ms쯤 나오고 아래 코드는 대략 70ms정도 나옵니다.
endl 고치니까 70ms 뜹니다.
어제 E번 문제에서 editorial이랑 거의 코드가 동일한데 왜이리 시간 차이가 많이 남?
https://atcoder.jp/contests/abc209/editorial/2237
https://atcoder.jp/contests/abc209/submissions/24147253
(IOS랑 cin.tie 박을 경우) Editorial은 300ms쯤 나오고 아래 코드는 대략 70ms정도 나옵니다.
endl 고치니까 70ms 뜹니다.
endl 차이 아닐까
와 내꺼 나와서 놀랬네
Endl 맞는듯
그르네 진짜 endl 때문에 걍 차이난거네