- Vijos
- 2016-07-20 21:59:41 @
在Wiki中可以看到编译命令:
G++: g++ -O2 -s -Wall -std=c++11 -o foo.exe foo.cpp -lm
但似乎ShadowShore并没有开-std=c++11
(于P1000 使用<regex>库进行的测试)
In file included from c:\mingw\lib\gcc\mingw32\4.8.1\include\c++\regex:35:0,
from foo.cpp:2:
c:\mingw\lib\gcc\mingw32\4.8.1\include\c++\bits\c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support is currently experimental, and must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
~~//虽然即使加了NOI系列也用不了。。。~~
2 条评论
-
samhjn LV 7 MOD @ 2016-08-08 01:59:59
您好,ShadowShore的编译参数已经修改。希望您在Vijos刷题愉快(^v^)
-
2016-07-21 03:45:42@
ShadowShore 似乎 没有按照要求配置
- 1