/ OPS /

记录详情

Wrong Answer

/in/foo.cc: In function 'int main()':
/in/foo.cc:6:16: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
   if(str[0]='R') cout<<"Paper"<<endl;
                ^
/in/foo.cc:7:22: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
   else if (str[0]='P') cout<<"Scissors"<<endl;
                      ^
/in/foo.cc:8:22: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
   else if (str[0]='S') cout<<"Rock"<<endl;
                      ^
# 状态 耗时 内存占用
#1 Wrong Answer 1ms 204.0 KiB

信息

递交者
类型
递交
语言
C++
递交时间
2021-11-15 10:10:20
评测时间
2021-11-15 10:10:20
评测机
分数
0
总耗时
1ms
峰值内存
204.0 KiB