/ Vijos /

记录详情

Compile Error

foo.cc: In function 'void solve()':
foo.cc:27:17: error: 'reserve' was not declared in this scope
   27 |                 reserve(q.begin(), q.end());
      |                 ^~~~~~~
foo.cc:28:34: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   28 |                 for(int i = 0; i < v.size(); ++i)
      |                                ~~^~~~~~~~~~
foo.cc:30:34: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   30 |                 for(int i = 0; i < v.size(); ++i) {
      |                                ~~^~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
自测
题目
P1304 回文数
语言
C++
递交时间
2023-06-08 16:49:31
评测时间
2023-06-08 16:49:31
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes