/ Vijos /

记录详情

Wrong Answer

/in/foo.cc: In function 'void solve()':
/in/foo.cc:58:22: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
  x=y=z=w=f1=f2=f3=top=0;
                   ~~~^~
/in/foo.cc:17:49: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
 #define F(i,start,end) for(R int (i)=(start);(i)<=(end);i++)
                                              ~~~^~~~~~~
/in/foo.cc:60:2: note: in expansion of macro 'F'
  F(i,0,s.size()-1)
  ^
/in/foo.cc:95:6: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
  if(z&&!f1||f1&&z<x||f1&&z==x&&f3)
     ~^~~~~
/in/foo.cc:95:30: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
  if(z&&!f1||f1&&z<x||f1&&z==x&&f3)
                      ~~~~~~~~^~~~
# 状态 耗时 内存占用
#1 Wrong Answer 2ms 312.0 KiB
#2 Wrong Answer 1ms 376.0 KiB
#3 Wrong Answer 1ms 372.0 KiB
#4 Wrong Answer 2ms 340.0 KiB
#5 Wrong Answer 2ms 340.0 KiB
#6 Wrong Answer 2ms 428.0 KiB
#7 Wrong Answer 2ms 368.0 KiB
#8 Wrong Answer 2ms 356.0 KiB
#9 Wrong Answer 2ms 324.0 KiB
#10 Wrong Answer 2ms 328.0 KiB

信息

递交者
类型
递交
题目
P2029 时间复杂度
语言
C++
递交时间
2021-09-26 21:50:22
评测时间
2021-09-26 21:50:22
评测机
分数
0
总耗时
21ms
峰值内存
428.0 KiB