记录详情

Compile Error

foo.cc: In function 'int main()':
foo.cc:7:8: warning: comparison with string literal results in unspecified behavior [-Waddress]
  if(s=="+++++++++++++++++++++++++++++++++++++++++++++++++.------.++++++.")
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
foo.cc:7:8: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
题目
P1276 BF
比赛
2021苏青奥赛集训营(2021/7/17训练赛)
语言
C++
递交时间
2021-07-17 11:29:20
评测时间
2021-07-17 11:29:20
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes