/ Vijos /

记录详情

Compile Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:11:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for(int i = 0; i < In.size(); i++)
                 ~~^~~~~~~~~~~
/in/foo.cc:15:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
    if(i == In.size() - 1 && In[i] = 'X')
       ~~^~~~~~~~~~~~~~~~
/in/foo.cc:15:37: error: lvalue required as left operand of assignment
    if(i == In.size() - 1 && In[i] = 'X')
                                     ^~~

信息

递交者
类型
递交
题目
P1484 ISBN号码
语言
C++
递交时间
2020-07-12 18:35:14
评测时间
2020-07-12 18:35:14
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes