Runtime Error

foo.cc: In function 'void updata(int, int, int)':
foo.cc:26:25: warning: value computed is not used [-Wunused-value]
     for(int i=x;i<Max1;i+lowbit(i))
                        ~^~~~~~~~~~
foo.cc: In function 'int main()':
foo.cc:36:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  scanf("%d",&n);
  ~~~~~^~~~~~~~~
foo.cc:41:9: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
    scanf("%d%d",&a[i],&b[i]);
    ~~~~~^~~~~~~~~~~~~~~~~~~~
正在同步测试数据,请稍后
自豪的采用HydroJudge(https://github.com/hydro-dev/Hydro)进行评测。
# 状态 耗时 内存占用
#1 Time Exceeded ≥1377ms ≥4.25 MiB
#2 Wrong Answer Read -1, expect 1. 6ms 4.156 MiB
#3 Time Exceeded ≥1375ms ≥4.18 MiB
#4 Time Exceeded ≥1359ms ≥4.184 MiB
#5 Runtime Error Segmentation fault 9ms 4.246 MiB
#6 Runtime Error Segmentation fault 8ms 4.301 MiB
#7 Runtime Error Segmentation fault 7ms 4.289 MiB
#8 Time Exceeded ≥1426ms ≥4.559 MiB
#9 Runtime Error Segmentation fault 7ms 4.27 MiB
#10 Runtime Error Segmentation fault 7ms 4.297 MiB

信息

递交者
类型
递交
题目
「一本通 4.1 例 2」数星星 Stars
语言
C++
递交时间
2021-03-14 15:34:50
评测时间
2021-03-14 15:34:50
评测机
分数
0
总耗时
5585ms
峰值内存
4.559 MiB