/ Vijos /

记录详情

Compile Error

In file included from c:\tdm-gcc-32\lib\gcc\mingw32\4.8.1\include\c++\unordered_map:35:0,
                 from foo.cpp:11:
c:\tdm-gcc-32\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.
 #error This file requires compiler and library support for the \
  ^
foo.cpp:21:1: error: 'unordered_map' does not name a type
 unordered_map <int, int> have;
 ^
foo.cpp:23:1: error: 'unordered_map' does not name a type
 unordered_map <int, int> reduce;
 ^
foo.cpp: In function 'void solve()':
foo.cpp:34:2: error: 'have' was not declared in this scope
  have.clear();
  ^
foo.cpp:58:2: error: 'reduce' was not declared in this scope
  reduce.clear();
  ^
foo.cpp:59:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for(int i = 0; i < numbers.size(); i++)
                                  ^
foo.cpp:87:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   for(int i = 0; i < e[s].size(); i++)
                                ^

信息

递交者
类型
递交
题目
P1901 学姐的钱包
语言
C++
递交时间
2014-11-08 13:59:02
评测时间
2014-11-08 13:59:04
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes