C++14 is 2x slower than C++11 (not related to I/O)

Правка en1, от Giada, 2017-08-04 13:26:42

I encountered the following issue with C++14. It seems that it is much slower than C++ and C++11. Here the same code submitted with C++, C++11, C++14.

The issue is not related to I/O (so cin/cout slowness addressed here is not involved), since the program has only to read 2 integers and write 1 integer. Moreover the code doesn't use any exotic structure or library, but only vectors.

What is the cause of this issue? Is it a known problem of the compiler?

Теги codeforces, c++, cpp, c++14, c++11 vs c++14, g++14

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский Giada 2017-08-04 13:26:42 852 Initial revision (published)