/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'void fuck(int&, bool)':
/in/foo.cc:10:9: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
    mid=l+r>>1;
        ~^~
/in/foo.cc: In function 'int main()':
/in/foo.cc:2:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
 #define fo(i,l,r) for(int i=l;i<=r;i++)
                                 
/in/foo.cc:21:5:
  fo(i,0,s.size()-1){
     ~~~~~~~~~~~~~~              
/in/foo.cc:21:2: note: in expansion of macro 'fo'
  fo(i,0,s.size()-1){
  ^~
/in/foo.cc: In function 'void fuck(int&, bool)':
/in/foo.cc:14:9: warning: 'ans' may be used uninitialized in this function [-Wmaybe-uninitialized]
   dp[ans+1]=x[i];
      ~~~^~
# 状态 耗时 内存占用
#1 Accepted 2ms 788.0 KiB
#2 Accepted 1ms 760.0 KiB
#3 Accepted 1ms 760.0 KiB
#4 Accepted 1ms 712.0 KiB
#5 Accepted 1ms 724.0 KiB
#6 Accepted 1ms 760.0 KiB

信息

递交者
类型
递交
题目
P1303 导弹拦截
语言
C++
递交时间
2024-01-29 22:28:16
评测时间
2024-01-29 22:28:16
评测机
分数
100
总耗时
10ms
峰值内存
788.0 KiB