Compile Error
/in/foo.cc: In function 'void solve()': /in/foo.cc:7:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(a=b*2) ^ /in/foo.cc:13:30: error: lvalue required as left operand of assignment while(++i<--j&&i<b&&c[i]=c[j]) ^ /in/foo.cc:14:12: error: invalid conversion from 'const char*' to 'int' [-fpermissive] cout<<(i=b?"Yes":"No")<<endl; ~^~~~~~~~~~~
信息
- 递交者
- 类型
- 递交
- 题目
- P1494 Problem 1B. 小三月的字符串
- 比赛
- 2023秋 悬赏令第一周
- 语言
- C++
- 递交时间
- 2023-10-07 23:40:02
- 评测时间
- 2023-10-07 23:40:02
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes