Skip to main content
added 30 characters in body
Source Link
user202729
  • 17.6k
  • 2
  • 39
  • 71

Shorter header

This is GCC specific, it may be extensible to other compilers.

Precompiled header.

In G++ bits/stdc++.h is the precompiled header consists of all other headers. If you need to import 2 different ones you can just use this.

Shorter header.

This is all headers listed on http://en.cppreference.com/w/cpp/header:

$("#a").text(pako.inflate(atob('eJx9VkuW1DAM3HON2cOGx4o3V8lzK0q3wZ9gy90TTo+dDKCyM710yT9VqWS/2ECuzPzdhO3108vfUeCHGmUWNfJmVSMbsxo5m/VUEutZjaWsTo9NSkYfO/OvouNZDP1U4xqFOHkjNzVORmzU8YXDXcf5ym86lSIwvljBXOmWYtA7evYxbXCEi0aAAl930TM4JdiDSLYV0njQzSQNlA7Ikmy4KuDOJDFB6mGOHoVZHrPeNMsM7LhIBuWQ6C1pvW6Jjd5jKVKSXtII/qwlaIoA0EoAgHYPZy+A2GswDhCWH37tVpmkKShinZWtmzPzomkyyZoAika/GkiBRsUaU7jK5MxJULNexUGkdpaDAgvFcwKKq2Eqx1q4OCDLgOQBsdGbYIGxQV+KM9NdnmvRsgK99vIFZC95QPbSAmSvYEAeA0Jy7QxMNsdvX789RdoFbVh0Jce1+r6roHoYRXC/Fa4NAlxzN67vQXbk/xAfrn7UDEI73UjLXsUI7aXek1cru4dqIQ8Uh4H1Kl4HtRrseB8kpbEyDylg1sH84N1LjG6QY4bNqN604dpU/Ea8y4QJHLAm211jsnLzsJapDGvTaIsduBTdAt5TxTTOsCaDq+rg/Vq2WPwl0FBteQs02tY6zlsWBp++MzNUQDsaG2edNkky2JsOgae7xRe6brA3b9x2P3yqBoaiX2J6mDRP3WOdq2N4nvo3sYSYZm4RfBr/4/ghOF7IKXGOJRFD6lZszfM3p+FsimvdybhmIrQov621ZXoOYtwX/KVACG8BIbw4hPoPSwyzbepO+8txgfYJC/uvCgT7fwgGu08IBPsfEgSH3whEh7cZ6ek/LshQ/3RBdPhsQHR80yA8PtMQPmndqPhpO9Bpn7msI+bEsSfp96ZCYU7diOec+wpPOrckMvaBsz6Y9KS6//Xcp3f62LHdZu9NeFqjs7S9/gHXxXg4'), {to: 'string'}));
<script src="https://cdn.rawgit.com/nodeca/pako/master/dist/pako.min.js"></script> <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script> <pre id="a"> </pre>

sorted in increasing order of length.

Some of them are already longer than bits/stdc++.h, and some of them requires C++17 support. Some others are not supported by TIO G++ (for reasons I don't know of). Filter out them we have:

$("#a").text(pako.inflate(atob('eJx9VcuS3CAMvOc39p5Tak+p/MoUI2SbhIcDYrz++4BdW6WG1B7VYI36IebNRfLV8s/Ix69vb59VYVFVMLuqXCqq8q7oqyQusKql7l7XJmdzqtry36rPixj6o+p2CucUjGyqzkZc0ucLx5c+55U/NJUqUD+dIFfacoq6Y+CQ8gk/4ZMRkCC0LvoG5ww9iOTcgcZBm8kaqANQJLu4KuDFJCkD9WhTQGOWw+qmRSyo4xMZtENScKT92jIb3WOpUrP+pAv8XVvQHQGgRwCAPod3T0DcGo0HhOV32IevTNYSVHHeyTncsbxoZHajqxDBY1MKZ0E/RocmAyiFlmUdnlgDZ5CvLUPTT5uSJmSZkDIhLgUTHagxeUfJMr3ka507K/DiiiYgV5wBuWIDyJVOQI4JIVmH5SRX0vuP9y+RPqCLi06pE25rDVl/GT++HG5W9rYVhrrTgNAlJBK+sofQFdBRlpbHEWrxm8SLk57NlgHq6RoUncyiOXO3yHDr1nTauGdKfhLaQjNqk3Zcrwt/EO/tUY1I4Ia12H5N2ckWkNUc7gt4VljSmxaO/D+sS+6bEzhLZ4YRrpH6yPCifHKbPOwN8cFq1x6SDb4b5SzC4dEWBqK4pHyYbB/DH19p68D2cf+//APa+54V'), {to: 'string'}));
<script src="https://cdn.rawgit.com/nodeca/pako/master/dist/pako.min.js"></script> <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script> <pre id="a"> </pre>

It may happens that some of them can be replaced by shorter ones. Just binary search whether the one you need can be replaced. In particular:

cstdio -> ios (-3 bytes) algorithm -> regex (-4 bytes) vector -> queue (-1 byte) string -> map (-3 bytes) bitset -> regex (-1 byte) numeric -> random (-1 byte) 

Shorter header

This is GCC specific, it may be extensible to other compilers.

Precompiled header.

In G++ bits/stdc++.h is the precompiled header consists of all other headers. If you need to import 2 different ones you can just use this.

Shorter header.

This is all headers listed on http://en.cppreference.com/w/cpp/header:

$("#a").text(pako.inflate(atob('eJx9VkuW1DAM3HON2cOGx4o3V8lzK0q3wZ9gy90TTo+dDKCyM710yT9VqWS/2ECuzPzdhO3108vfUeCHGmUWNfJmVSMbsxo5m/VUEutZjaWsTo9NSkYfO/OvouNZDP1U4xqFOHkjNzVORmzU8YXDXcf5ym86lSIwvljBXOmWYtA7evYxbXCEi0aAAl930TM4JdiDSLYV0njQzSQNlA7Ikmy4KuDOJDFB6mGOHoVZHrPeNMsM7LhIBuWQ6C1pvW6Jjd5jKVKSXtII/qwlaIoA0EoAgHYPZy+A2GswDhCWH37tVpmkKShinZWtmzPzomkyyZoAika/GkiBRsUaU7jK5MxJULNexUGkdpaDAgvFcwKKq2Eqx1q4OCDLgOQBsdGbYIGxQV+KM9NdnmvRsgK99vIFZC95QPbSAmSvYEAeA0Jy7QxMNsdvX789RdoFbVh0Jce1+r6roHoYRXC/Fa4NAlxzN67vQXbk/xAfrn7UDEI73UjLXsUI7aXek1cru4dqIQ8Uh4H1Kl4HtRrseB8kpbEyDylg1sH84N1LjG6QY4bNqN604dpU/Ea8y4QJHLAm211jsnLzsJapDGvTaIsduBTdAt5TxTTOsCaDq+rg/Vq2WPwl0FBteQs02tY6zlsWBp++MzNUQDsaG2edNkky2JsOgae7xRe6brA3b9x2P3yqBoaiX2J6mDRP3WOdq2N4nvo3sYSYZm4RfBr/4/ghOF7IKXGOJRFD6lZszfM3p+FsimvdybhmIrQov621ZXoOYtwX/KVACG8BIbw4hPoPSwyzbepO+8txgfYJC/uvCgT7fwgGu08IBPsfEgSH3whEh7cZ6ek/LshQ/3RBdPhsQHR80yA8PtMQPmndqPhpO9Bpn7msI+bEsSfp96ZCYU7diOec+wpPOrckMvaBsz6Y9KS6//Xcp3f62LHdZu9NeFqjs7S9/gHXxXg4'), {to: 'string'}));
<script src="https://cdn.rawgit.com/nodeca/pako/master/dist/pako.min.js"></script> <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script> <pre id="a"> </pre>

sorted in increasing order of length.

Some of them are already longer than bits/stdc++.h, and some of them requires C++17 support. Some others are not supported by TIO G++ (for reasons I don't know of). Filter out them we have:

$("#a").text(pako.inflate(atob('eJx9VcuS3CAMvOc39p5Tak+p/MoUI2SbhIcDYrz++4BdW6WG1B7VYI36IebNRfLV8s/Ix69vb59VYVFVMLuqXCqq8q7oqyQusKql7l7XJmdzqtry36rPixj6o+p2CucUjGyqzkZc0ucLx5c+55U/NJUqUD+dIFfacoq6Y+CQ8gk/4ZMRkCC0LvoG5ww9iOTcgcZBm8kaqANQJLu4KuDFJCkD9WhTQGOWw+qmRSyo4xMZtENScKT92jIb3WOpUrP+pAv8XVvQHQGgRwCAPod3T0DcGo0HhOV32IevTNYSVHHeyTncsbxoZHajqxDBY1MKZ0E/RocmAyiFlmUdnlgDZ5CvLUPTT5uSJmSZkDIhLgUTHagxeUfJMr3ka507K/DiiiYgV5wBuWIDyJVOQI4JIVmH5SRX0vuP9y+RPqCLi06pE25rDVl/GT++HG5W9rYVhrrTgNAlJBK+sofQFdBRlpbHEWrxm8SLk57NlgHq6RoUncyiOXO3yHDr1nTauGdKfhLaQjNqk3Zcrwt/EO/tUY1I4Ia12H5N2ckWkNUc7gt4VljSmxaO/D+sS+6bEzhLZ4YRrpH6yPCifHKbPOwN8cFq1x6SDb4b5SzC4dEWBqK4pHyYbB/DH19p68D2cf+//APa+54V'), {to: 'string'}));
<script src="https://cdn.rawgit.com/nodeca/pako/master/dist/pako.min.js"></script> <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script> <pre id="a"> </pre>

It may happens that some of them can be replaced by shorter ones. Just binary search whether the one you need can be replaced. In particular:

cstdio -> ios (-3 bytes) algorithm -> regex (-4 bytes) vector -> queue (-1 byte) string -> map (-3 bytes) bitset -> regex (-1 byte) 

Shorter header

This is GCC specific, it may be extensible to other compilers.

Precompiled header.

In G++ bits/stdc++.h is the precompiled header consists of all other headers. If you need to import 2 different ones you can just use this.

Shorter header.

This is all headers listed on http://en.cppreference.com/w/cpp/header:

$("#a").text(pako.inflate(atob('eJx9VkuW1DAM3HON2cOGx4o3V8lzK0q3wZ9gy90TTo+dDKCyM710yT9VqWS/2ECuzPzdhO3108vfUeCHGmUWNfJmVSMbsxo5m/VUEutZjaWsTo9NSkYfO/OvouNZDP1U4xqFOHkjNzVORmzU8YXDXcf5ym86lSIwvljBXOmWYtA7evYxbXCEi0aAAl930TM4JdiDSLYV0njQzSQNlA7Ikmy4KuDOJDFB6mGOHoVZHrPeNMsM7LhIBuWQ6C1pvW6Jjd5jKVKSXtII/qwlaIoA0EoAgHYPZy+A2GswDhCWH37tVpmkKShinZWtmzPzomkyyZoAika/GkiBRsUaU7jK5MxJULNexUGkdpaDAgvFcwKKq2Eqx1q4OCDLgOQBsdGbYIGxQV+KM9NdnmvRsgK99vIFZC95QPbSAmSvYEAeA0Jy7QxMNsdvX789RdoFbVh0Jce1+r6roHoYRXC/Fa4NAlxzN67vQXbk/xAfrn7UDEI73UjLXsUI7aXek1cru4dqIQ8Uh4H1Kl4HtRrseB8kpbEyDylg1sH84N1LjG6QY4bNqN604dpU/Ea8y4QJHLAm211jsnLzsJapDGvTaIsduBTdAt5TxTTOsCaDq+rg/Vq2WPwl0FBteQs02tY6zlsWBp++MzNUQDsaG2edNkky2JsOgae7xRe6brA3b9x2P3yqBoaiX2J6mDRP3WOdq2N4nvo3sYSYZm4RfBr/4/ghOF7IKXGOJRFD6lZszfM3p+FsimvdybhmIrQov621ZXoOYtwX/KVACG8BIbw4hPoPSwyzbepO+8txgfYJC/uvCgT7fwgGu08IBPsfEgSH3whEh7cZ6ek/LshQ/3RBdPhsQHR80yA8PtMQPmndqPhpO9Bpn7msI+bEsSfp96ZCYU7diOec+wpPOrckMvaBsz6Y9KS6//Xcp3f62LHdZu9NeFqjs7S9/gHXxXg4'), {to: 'string'}));
<script src="https://cdn.rawgit.com/nodeca/pako/master/dist/pako.min.js"></script> <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script> <pre id="a"> </pre>

sorted in increasing order of length.

Some of them are already longer than bits/stdc++.h, and some of them requires C++17 support. Some others are not supported by TIO G++ (for reasons I don't know of). Filter out them we have:

$("#a").text(pako.inflate(atob('eJx9VcuS3CAMvOc39p5Tak+p/MoUI2SbhIcDYrz++4BdW6WG1B7VYI36IebNRfLV8s/Ix69vb59VYVFVMLuqXCqq8q7oqyQusKql7l7XJmdzqtry36rPixj6o+p2CucUjGyqzkZc0ucLx5c+55U/NJUqUD+dIFfacoq6Y+CQ8gk/4ZMRkCC0LvoG5ww9iOTcgcZBm8kaqANQJLu4KuDFJCkD9WhTQGOWw+qmRSyo4xMZtENScKT92jIb3WOpUrP+pAv8XVvQHQGgRwCAPod3T0DcGo0HhOV32IevTNYSVHHeyTncsbxoZHajqxDBY1MKZ0E/RocmAyiFlmUdnlgDZ5CvLUPTT5uSJmSZkDIhLgUTHagxeUfJMr3ka507K/DiiiYgV5wBuWIDyJVOQI4JIVmH5SRX0vuP9y+RPqCLi06pE25rDVl/GT++HG5W9rYVhrrTgNAlJBK+sofQFdBRlpbHEWrxm8SLk57NlgHq6RoUncyiOXO3yHDr1nTauGdKfhLaQjNqk3Zcrwt/EO/tUY1I4Ia12H5N2ckWkNUc7gt4VljSmxaO/D+sS+6bEzhLZ4YRrpH6yPCifHKbPOwN8cFq1x6SDb4b5SzC4dEWBqK4pHyYbB/DH19p68D2cf+//APa+54V'), {to: 'string'}));
<script src="https://cdn.rawgit.com/nodeca/pako/master/dist/pako.min.js"></script> <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script> <pre id="a"> </pre>

It may happens that some of them can be replaced by shorter ones. Just binary search whether the one you need can be replaced. In particular:

cstdio -> ios (-3 bytes) algorithm -> regex (-4 bytes) vector -> queue (-1 byte) string -> map (-3 bytes) bitset -> regex (-1 byte) numeric -> random (-1 byte) 
added 21 characters in body
Source Link
user202729
  • 17.6k
  • 2
  • 39
  • 71
#include<any> #include<new> #include<set> #include<map> #include<ios> #include<list> #include<ctime> #include<tuple> #include<array> #include<deque> #include<stack> #include<queue> #include<cmath> #include<ratio> #include<cfenv> #include<regex> #include<mutex> #include<bitset> #include<chrono> #include<memory> #include<cfloat> #include<limits> #include<cerrno> #include<cctype> #include<cwchar> #include<cuchar> #include<string> #include<vector> #include<random> #include<iosfwd> #include<cstdio> #include<locale> #include<atomic> #include<thread> #include<future> #include<fenv.h> #include<math.h> #include<time.h> #include<cstdlib> #include<csignal> #include<csetjmp> #include<cstdarg> #include<utility> #include<cstddef> #include<variant> #include<compare> #include<climits> #include<cstdint> #include<cassert> #include<cwctype> #include<cstring> #include<complex> #include<numeric> #include<istream> #include<ostream> #include<fstream> #include<sstream> #include<iomanip> #include<clocale> #include<codecvt> #include<cstdlib> #include<ctype.h> #include<errno.h> #include<float.h> #include<stdio.h> #include<uchar.h> #include<wchar.h> #include<ctgmath> #include<ciso646> #include<ciso646> #include<typeinfo> #include<optional> #include<charconv> #include<iterator> #include<valarray> #include<iostream> #include<assert.h> #include<limits.h> #include<locale.h> #include<setjmp.h> #include<signal.h> #include<stdarg.h> #include<stddef.h> #include<stdint.h> #include<stdlib.h> #include<string.h> #include<wctype.h> #include<ccomplex> #include<tgmath.h> #include<iso646.h> #include<cstdbool> #include<typeindex> #include<cinttypes> #include<exception> #include<stdexcept> #include<algorithm> #include<execution> #include<strstream> #include<streambuf> #include<complex.h> #include<complex.h> #include<cstdalign> #include<stdbool.h> #include<functional> #include<syncstream> #include<filesystem> #include<inttypes.h> #include<stdalign.h> #include<type_traits> #include<string_view> #include<stdatomic.h> #include<system_error> #include<forward_list> #include<shared_mutex> #include<unordered_set> #include<unordered_map> #include<memory_resource> #include<initializer_list> #include<scoped_allocator> #include<experimental/any> #include<experimental/map> #include<experimental/set> #include<experimental/list> #include<condition_variable> #include<experimental/deque> #include<experimental/ratio> #include<experimental/regex> #include<experimental/tuple> #include<experimental/chrono> #include<experimental/future> #include<experimental/memory> #include<experimental/string> #include<experimental/vector> #include<experimental/numeric> #include<experimental/utility> #include<experimental/optional> #include<experimental/algorithm> #include<experimental/filesystem> #include<experimental/functional> #include<experimental/string_view> #include<experimental/type_traits> #include<experimental/forward_list> #include<experimental/system_error> #include<experimental/unordered_map> #include<experimental/unordered_set> #include<experimental/exception_list> #include<experimental/memory_resource> #include<experimental/execution_policy> 

$("#a").text(pako.inflate(atob('eJx9VkuW1DAM3HON2cOGx4o3V8lzK0q3wZ9gy90TTo+dDKCyM710yT9VqWS/2ECuzPzdhO3108vfUeCHGmUWNfJmVSMbsxo5m/VUEutZjaWsTo9NSkYfO/OvouNZDP1U4xqFOHkjNzVORmzU8YXDXcf5ym86lSIwvljBXOmWYtA7evYxbXCEi0aAAl930TM4JdiDSLYV0njQzSQNlA7Ikmy4KuDOJDFB6mGOHoVZHrPeNMsM7LhIBuWQ6C1pvW6Jjd5jKVKSXtII/qwlaIoA0EoAgHYPZy+A2GswDhCWH37tVpmkKShinZWtmzPzomkyyZoAika/GkiBRsUaU7jK5MxJULNexUGkdpaDAgvFcwKKq2Eqx1q4OCDLgOQBsdGbYIGxQV+KM9NdnmvRsgK99vIFZC95QPbSAmSvYEAeA0Jy7QxMNsdvX789RdoFbVh0Jce1+r6roHoYRXC/Fa4NAlxzN67vQXbk/xAfrn7UDEI73UjLXsUI7aXek1cru4dqIQ8Uh4H1Kl4HtRrseB8kpbEyDylg1sH84N1LjG6QY4bNqN604dpU/Ea8y4QJHLAm211jsnLzsJapDGvTaIsduBTdAt5TxTTOsCaDq+rg/Vq2WPwl0FBteQs02tY6zlsWBp++MzNUQDsaG2edNkky2JsOgae7xRe6brA3b9x2P3yqBoaiX2J6mDRP3WOdq2N4nvo3sYSYZm4RfBr/4/ghOF7IKXGOJRFD6lZszfM3p+FsimvdybhmIrQov621ZXoOYtwX/KVACG8BIbw4hPoPSwyzbepO+8txgfYJC/uvCgT7fwgGu08IBPsfEgSH3whEh7cZ6ek/LshQ/3RBdPhsQHR80yA8PtMQPmndqPhpO9Bpn7msI+bEsSfp96ZCYU7diOec+wpPOrckMvaBsz6Y9KS6//Xcp3f62LHdZu9NeFqjs7S9/gHXxXg4'), {to: 'string'}));
<script src="https://cdn.rawgit.com/nodeca/pako/master/dist/pako.min.js"></script> <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script> <pre id="a"> </pre>

sorted in increasing order of length.

#include<new> #include<set> #include<map> #include<ios> #include<list> #include<ctime> #include<tuple> #include<array> #include<deque> #include<stack> #include<queue> #include<cmath> #include<ratio> #include<cfenv> #include<regex> #include<mutex> #include<bitset> #include<chrono> #include<memory> #include<cfloat> #include<limits> #include<cerrno> #include<cctype> #include<cwchar> #include<cuchar> #include<string> #include<vector> #include<random> #include<iosfwd> #include<cstdio> #include<locale> #include<atomic> #include<thread> #include<future> #include<fenv.h> #include<math.h> #include<time.h> #include<cstdlib> #include<csignal> #include<csetjmp> #include<cstdarg> #include<utility> #include<cstddef> #include<climits> #include<cstdint> #include<cassert> #include<cwctype> #include<cstring> #include<complex> #include<numeric> #include<istream> #include<ostream> #include<fstream> #include<sstream> #include<iomanip> #include<clocale> #include<codecvt> #include<cstdlib> #include<ctype.h> #include<errno.h> #include<float.h> #include<stdio.h> #include<uchar.h> #include<wchar.h> #include<ctgmath> #include<ciso646> #include<ciso646> #include<typeinfo> #include<iterator> #include<valarray> #include<iostream> #include<assert.h> #include<limits.h> #include<locale.h> #include<setjmp.h> #include<signal.h> #include<stdarg.h> #include<stddef.h> #include<stdint.h> #include<stdlib.h> #include<string.h> #include<wctype.h> #include<ccomplex> #include<tgmath.h> #include<iso646.h> #include<cstdbool> #include<typeindex> #include<cinttypes> #include<exception> #include<stdexcept> #include<algorithm> #include<strstream> #include<streambuf> #include<complex.h> #include<complex.h> #include<cstdalign> #include<stdbool.h> #include<functional> #include<inttypes.h> #include<stdalign.h> #include<type_traits> #include<system_error> #include<forward_list> #include<shared_mutex> 

$("#a").text(pako.inflate(atob('eJx9VcuS3CAMvOc39p5Tak+p/MoUI2SbhIcDYrz++4BdW6WG1B7VYI36IebNRfLV8s/Ix69vb59VYVFVMLuqXCqq8q7oqyQusKql7l7XJmdzqtry36rPixj6o+p2CucUjGyqzkZc0ucLx5c+55U/NJUqUD+dIFfacoq6Y+CQ8gk/4ZMRkCC0LvoG5ww9iOTcgcZBm8kaqANQJLu4KuDFJCkD9WhTQGOWw+qmRSyo4xMZtENScKT92jIb3WOpUrP+pAv8XVvQHQGgRwCAPod3T0DcGo0HhOV32IevTNYSVHHeyTncsbxoZHajqxDBY1MKZ0E/RocmAyiFlmUdnlgDZ5CvLUPTT5uSJmSZkDIhLgUTHagxeUfJMr3ka507K/DiiiYgV5wBuWIDyJVOQI4JIVmH5SRX0vuP9y+RPqCLi06pE25rDVl/GT++HG5W9rYVhrrTgNAlJBK+sofQFdBRlpbHEWrxm8SLk57NlgHq6RoUncyiOXO3yHDr1nTauGdKfhLaQjNqk3Zcrwt/EO/tUY1I4Ia12H5N2ckWkNUc7gt4VljSmxaO/D+sS+6bEzhLZ4YRrpH6yPCifHKbPOwN8cFq1x6SDb4b5SzC4dEWBqK4pHyYbB/DH19p68D2cf+//APa+54V'), {to: 'string'}));
<script src="https://cdn.rawgit.com/nodeca/pako/master/dist/pako.min.js"></script> <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script> <pre id="a"> </pre>

cstdio -> ios (-3 bytes) algorithm -> regex (-4 bytes) vector -> queue (-1 byte) string -> map (-3 bytes) bitset -> regex (-1 byte) 
#include<any> #include<new> #include<set> #include<map> #include<ios> #include<list> #include<ctime> #include<tuple> #include<array> #include<deque> #include<stack> #include<queue> #include<cmath> #include<ratio> #include<cfenv> #include<regex> #include<mutex> #include<bitset> #include<chrono> #include<memory> #include<cfloat> #include<limits> #include<cerrno> #include<cctype> #include<cwchar> #include<cuchar> #include<string> #include<vector> #include<random> #include<iosfwd> #include<cstdio> #include<locale> #include<atomic> #include<thread> #include<future> #include<fenv.h> #include<math.h> #include<time.h> #include<cstdlib> #include<csignal> #include<csetjmp> #include<cstdarg> #include<utility> #include<cstddef> #include<variant> #include<compare> #include<climits> #include<cstdint> #include<cassert> #include<cwctype> #include<cstring> #include<complex> #include<numeric> #include<istream> #include<ostream> #include<fstream> #include<sstream> #include<iomanip> #include<clocale> #include<codecvt> #include<cstdlib> #include<ctype.h> #include<errno.h> #include<float.h> #include<stdio.h> #include<uchar.h> #include<wchar.h> #include<ctgmath> #include<ciso646> #include<ciso646> #include<typeinfo> #include<optional> #include<charconv> #include<iterator> #include<valarray> #include<iostream> #include<assert.h> #include<limits.h> #include<locale.h> #include<setjmp.h> #include<signal.h> #include<stdarg.h> #include<stddef.h> #include<stdint.h> #include<stdlib.h> #include<string.h> #include<wctype.h> #include<ccomplex> #include<tgmath.h> #include<iso646.h> #include<cstdbool> #include<typeindex> #include<cinttypes> #include<exception> #include<stdexcept> #include<algorithm> #include<execution> #include<strstream> #include<streambuf> #include<complex.h> #include<complex.h> #include<cstdalign> #include<stdbool.h> #include<functional> #include<syncstream> #include<filesystem> #include<inttypes.h> #include<stdalign.h> #include<type_traits> #include<string_view> #include<stdatomic.h> #include<system_error> #include<forward_list> #include<shared_mutex> #include<unordered_set> #include<unordered_map> #include<memory_resource> #include<initializer_list> #include<scoped_allocator> #include<experimental/any> #include<experimental/map> #include<experimental/set> #include<experimental/list> #include<condition_variable> #include<experimental/deque> #include<experimental/ratio> #include<experimental/regex> #include<experimental/tuple> #include<experimental/chrono> #include<experimental/future> #include<experimental/memory> #include<experimental/string> #include<experimental/vector> #include<experimental/numeric> #include<experimental/utility> #include<experimental/optional> #include<experimental/algorithm> #include<experimental/filesystem> #include<experimental/functional> #include<experimental/string_view> #include<experimental/type_traits> #include<experimental/forward_list> #include<experimental/system_error> #include<experimental/unordered_map> #include<experimental/unordered_set> #include<experimental/exception_list> #include<experimental/memory_resource> #include<experimental/execution_policy> 

sorted in increasing order of

#include<new> #include<set> #include<map> #include<ios> #include<list> #include<ctime> #include<tuple> #include<array> #include<deque> #include<stack> #include<queue> #include<cmath> #include<ratio> #include<cfenv> #include<regex> #include<mutex> #include<bitset> #include<chrono> #include<memory> #include<cfloat> #include<limits> #include<cerrno> #include<cctype> #include<cwchar> #include<cuchar> #include<string> #include<vector> #include<random> #include<iosfwd> #include<cstdio> #include<locale> #include<atomic> #include<thread> #include<future> #include<fenv.h> #include<math.h> #include<time.h> #include<cstdlib> #include<csignal> #include<csetjmp> #include<cstdarg> #include<utility> #include<cstddef> #include<climits> #include<cstdint> #include<cassert> #include<cwctype> #include<cstring> #include<complex> #include<numeric> #include<istream> #include<ostream> #include<fstream> #include<sstream> #include<iomanip> #include<clocale> #include<codecvt> #include<cstdlib> #include<ctype.h> #include<errno.h> #include<float.h> #include<stdio.h> #include<uchar.h> #include<wchar.h> #include<ctgmath> #include<ciso646> #include<ciso646> #include<typeinfo> #include<iterator> #include<valarray> #include<iostream> #include<assert.h> #include<limits.h> #include<locale.h> #include<setjmp.h> #include<signal.h> #include<stdarg.h> #include<stddef.h> #include<stdint.h> #include<stdlib.h> #include<string.h> #include<wctype.h> #include<ccomplex> #include<tgmath.h> #include<iso646.h> #include<cstdbool> #include<typeindex> #include<cinttypes> #include<exception> #include<stdexcept> #include<algorithm> #include<strstream> #include<streambuf> #include<complex.h> #include<complex.h> #include<cstdalign> #include<stdbool.h> #include<functional> #include<inttypes.h> #include<stdalign.h> #include<type_traits> #include<system_error> #include<forward_list> #include<shared_mutex> 
cstdio -> ios algorithm -> regex 

$("#a").text(pako.inflate(atob('eJx9VkuW1DAM3HON2cOGx4o3V8lzK0q3wZ9gy90TTo+dDKCyM710yT9VqWS/2ECuzPzdhO3108vfUeCHGmUWNfJmVSMbsxo5m/VUEutZjaWsTo9NSkYfO/OvouNZDP1U4xqFOHkjNzVORmzU8YXDXcf5ym86lSIwvljBXOmWYtA7evYxbXCEi0aAAl930TM4JdiDSLYV0njQzSQNlA7Ikmy4KuDOJDFB6mGOHoVZHrPeNMsM7LhIBuWQ6C1pvW6Jjd5jKVKSXtII/qwlaIoA0EoAgHYPZy+A2GswDhCWH37tVpmkKShinZWtmzPzomkyyZoAika/GkiBRsUaU7jK5MxJULNexUGkdpaDAgvFcwKKq2Eqx1q4OCDLgOQBsdGbYIGxQV+KM9NdnmvRsgK99vIFZC95QPbSAmSvYEAeA0Jy7QxMNsdvX789RdoFbVh0Jce1+r6roHoYRXC/Fa4NAlxzN67vQXbk/xAfrn7UDEI73UjLXsUI7aXek1cru4dqIQ8Uh4H1Kl4HtRrseB8kpbEyDylg1sH84N1LjG6QY4bNqN604dpU/Ea8y4QJHLAm211jsnLzsJapDGvTaIsduBTdAt5TxTTOsCaDq+rg/Vq2WPwl0FBteQs02tY6zlsWBp++MzNUQDsaG2edNkky2JsOgae7xRe6brA3b9x2P3yqBoaiX2J6mDRP3WOdq2N4nvo3sYSYZm4RfBr/4/ghOF7IKXGOJRFD6lZszfM3p+FsimvdybhmIrQov621ZXoOYtwX/KVACG8BIbw4hPoPSwyzbepO+8txgfYJC/uvCgT7fwgGu08IBPsfEgSH3whEh7cZ6ek/LshQ/3RBdPhsQHR80yA8PtMQPmndqPhpO9Bpn7msI+bEsSfp96ZCYU7diOec+wpPOrckMvaBsz6Y9KS6//Xcp3f62LHdZu9NeFqjs7S9/gHXxXg4'), {to: 'string'}));
<script src="https://cdn.rawgit.com/nodeca/pako/master/dist/pako.min.js"></script> <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script> <pre id="a"> </pre>

sorted in increasing order of length.

$("#a").text(pako.inflate(atob('eJx9VcuS3CAMvOc39p5Tak+p/MoUI2SbhIcDYrz++4BdW6WG1B7VYI36IebNRfLV8s/Ix69vb59VYVFVMLuqXCqq8q7oqyQusKql7l7XJmdzqtry36rPixj6o+p2CucUjGyqzkZc0ucLx5c+55U/NJUqUD+dIFfacoq6Y+CQ8gk/4ZMRkCC0LvoG5ww9iOTcgcZBm8kaqANQJLu4KuDFJCkD9WhTQGOWw+qmRSyo4xMZtENScKT92jIb3WOpUrP+pAv8XVvQHQGgRwCAPod3T0DcGo0HhOV32IevTNYSVHHeyTncsbxoZHajqxDBY1MKZ0E/RocmAyiFlmUdnlgDZ5CvLUPTT5uSJmSZkDIhLgUTHagxeUfJMr3ka507K/DiiiYgV5wBuWIDyJVOQI4JIVmH5SRX0vuP9y+RPqCLi06pE25rDVl/GT++HG5W9rYVhrrTgNAlJBK+sofQFdBRlpbHEWrxm8SLk57NlgHq6RoUncyiOXO3yHDr1nTauGdKfhLaQjNqk3Zcrwt/EO/tUY1I4Ia12H5N2ckWkNUc7gt4VljSmxaO/D+sS+6bEzhLZ4YRrpH6yPCifHKbPOwN8cFq1x6SDb4b5SzC4dEWBqK4pHyYbB/DH19p68D2cf+//APa+54V'), {to: 'string'}));
<script src="https://cdn.rawgit.com/nodeca/pako/master/dist/pako.min.js"></script> <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script> <pre id="a"> </pre>

cstdio -> ios (-3 bytes) algorithm -> regex (-4 bytes) vector -> queue (-1 byte) string -> map (-3 bytes) bitset -> regex (-1 byte) 
Rollback to Revision 2
Source Link
user202729
  • 17.6k
  • 2
  • 39
  • 71
cstdio -> ios algorithm -> regex vector -> stack 
cstdio -> ios algorithm -> regex vector -> stack 
cstdio -> ios algorithm -> regex 
added 21 characters in body
Source Link
user202729
  • 17.6k
  • 2
  • 39
  • 71
Loading
added 33 characters in body
Source Link
Riker
  • 7.9k
  • 4
  • 40
  • 73
Loading
Source Link
user202729
  • 17.6k
  • 2
  • 39
  • 71
Loading