C++11 on all judges

Правка en3, от khokho, 2018-04-05 14:24:14

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.

Теги c++11

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en4 Английский khokho 2018-04-05 14:24:26 2 Tiny change: 'already.\nThis tri' -> 'already.\n\nThis tri'
en3 Английский khokho 2018-04-05 14:24:14 28 Tiny change: 't already. example judge: wcipeg.com\n\nThis tri' -> 't already.\nThis tri'
en2 Английский khokho 2018-04-05 11:51:57 2 Tiny change: 'lems:\n\n#pragma GC' -> 'lems:\n\n# #pragma GC'
en1 Английский khokho 2018-04-05 11:51:33 330 Initial revision (published)