It seems that in C++11, even with the standard `ios::sync_with_stdio(0), cin.tie(0);` hacks, has significantly slower I/O with cin/cout than C++14.↵
↵
View these submissions:↵
↵
- cin/cout && C++11: 2963ms [here](http://mirror.codeforces.com/contest/980/submission/38122018)↵
↵
- cin/cout && C++14: 1934ms [here](http://mirror.codeforces.com/contest/980/submission/38122027)↵
↵
With scanf/printf, this issue isn't there:↵
↵
- scanf/printf && C++11: 2027ms [here](http://mirror.codeforces.com/contest/980/submission/38121980)↵
↵
- scanf/printf && C++14: 1887ms [here](http://mirror.codeforces.com/contest/980/submission/38121992) ↵
↵
I was unaware of this. Does anybody have any explanations? Am I missing something specific about my submissions?↵
↵
Thanks [user:tonynater,2018-05-11] for the discussion.
↵
View these submissions:
- cin/cout && C++11: 2963ms [here](http://mirror.codeforces.com/contest/980/submission/38122018)
- cin/cout && C++14: 1934ms [here](http://mirror.codeforces.com/contest/980/submission/38122027)↵
↵
With scanf/printf, this issue isn't there:
- scanf/printf && C++11: 2027ms [here](http://mirror.codeforces.com/contest/980/submission/38121980)
- scanf/printf && C++14: 1887ms [here](http://mirror.codeforces.com/contest/980/submission/38121992) ↵
↵
I was unaware of this. Does anybody have any explanations? Am I missing something specific about my submissions?↵
↵
Thanks [user:tonynater,2018-05-11] for the discussion.