记录详情

Compile Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:9:32: error: 'reverse' was not declared in this scope
  reverse(str.begin(), str.end());
                                ^
/in/foo.cc:10:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for (int i = 0; i < str.size(); i++)
                  ~~^~~~~~~~~~~~
/in/foo.cc:15:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   for (int j = flag; i < str.size(); i++)
                      ~~^~~~~~~~~~~~

信息

递交者
类型
递交
题目
(ty 1-4) 硬币翻转
比赛
2019-1-20寒假集训1
语言
C++
递交时间
2019-01-20 11:46:49
评测时间
2019-01-20 11:46:49
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes