/ Vijos /

记录详情

Wrong Answer

/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 Wrong Answer 2ms 708.0 KiB
#2 Wrong Answer 2ms 780.0 KiB
#3 Wrong Answer 1ms 764.0 KiB
#4 Wrong Answer 1ms 760.0 KiB
#5 Wrong Answer 1ms 712.0 KiB
#6 Wrong Answer 1ms 760.0 KiB

信息

递交者
类型
递交
题目
P1303 导弹拦截
语言
C++
递交时间
2024-01-29 22:27:36
评测时间
2024-01-29 22:27:36
评测机
分数
0
总耗时
11ms
峰值内存
780.0 KiB