C++11 on all judges

Revision en4, by khokho, 2018-04-05 14:24:26

Are you tired of writing make_pair and not being able to use auto-s on some judges? Well introducing one line of code which will solve all your problems:

#pragma GCC diagnostic warning "-std=c++11"

So hurry up and use it already.

This trick will probably work on 99% of sites.

Tags c++11

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en4 English khokho 2018-04-05 14:24:26 2 Tiny change: 'already.\nThis tri' -> 'already.\n\nThis tri'
en3 English khokho 2018-04-05 14:24:14 28 Tiny change: 't already. example judge: wcipeg.com\n\nThis tri' -> 't already.\nThis tri'
en2 English khokho 2018-04-05 11:51:57 2 Tiny change: 'lems:\n\n#pragma GC' -> 'lems:\n\n# #pragma GC'
en1 English khokho 2018-04-05 11:51:33 330 Initial revision (published)