/ Vijos /

记录详情

Accepted

foo.cc: In function 'int get()':
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++)
                                              ~~~^~~~~~~
foo.cc:61:2: note: in expansion of macro 'F'
  F(i,0,s.size()-1)
  ^
foo.cc: In function 'void solve()':
foo.cc:68:22: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
  x=y=z=w=f1=f2=f3=top=0;
                   ~~~^~
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++)
                                              ~~~^~~~~~~
foo.cc:70:2: note: in expansion of macro 'F'
  F(i,0,s.size()-1)
  ^
foo.cc:114:6: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
  if(z&&!f1||f1&&x!=z)
     ~^~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 2ms 384.0 KiB
#2 Accepted 1ms 384.0 KiB
#3 Accepted 2ms 384.0 KiB
#4 Accepted 2ms 384.0 KiB
#5 Accepted 2ms 384.0 KiB
#6 Accepted 1ms 384.0 KiB
#7 Accepted 1ms 384.0 KiB
#8 Accepted 2ms 384.0 KiB
#9 Accepted 1ms 384.0 KiB
#10 Accepted 2ms 384.0 KiB

信息

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