记录详情

Compile Error

foo.cc: In function 'int main()':
foo.cc:12:2: error: 'vector' was not declared in this scope
  vector<string> v;
  ^~~~~~
foo.cc:12:2: note: suggested alternative: 'qecvt_r'
  vector<string> v;
  ^~~~~~
  qecvt_r
foo.cc:12:15: error: expected primary-expression before '>' token
  vector<string> v;
               ^
foo.cc:12:17: error: 'v' was not declared in this scope
  vector<string> v;
                 ^
foo.cc:20:11: warning: array subscript has type 'char' [-Wchar-subscripts]
   cnt[s[0]]++;
           ^
foo.cc:27:14: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses]
   if(cnt[i]&1==1) sig=i;
             ~^~~
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
题目
P1268 Single string
语言
C++
递交时间
2021-07-17 10:08:44
评测时间
2021-07-17 10:08:44
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes