记录详情

Runtime Error

foo.cc: In function 'int main()':
foo.cc:32:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  scanf("%d",&n);
  ~~~~~^~~~~~~~~
foo.cc:33:41: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  for(int i=1;i<=n;i++ )scanf("%d",&a[i]),pre[i]=pre[i-1]^a[i];
                        ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~

自豪的采用 HydroJudge 进行评测(github.com/hydro-dev/HydroJudge)
{"receive":"2020-07-25T14:19:10.159Z","handle":"2020-07-25T14:19:10.159Z","cache_start":"2020-07-25T14:19:10.167Z","read_cases":"2020-07-25T14:19:10.281Z","judge":"2020-07-25T14:19:10.288Z","done":"2020-07-25T14:19:12.273Z"}
# 状态 耗时 内存占用
#1 Wrong Answer 读取到 8388228 ,应为 8388606 8ms 3.449 MiB
#2 Wrong Answer 读取到 4194005 ,应为 4194302 7ms 3.52 MiB
#3 Wrong Answer 读取到 16776230 ,应为 16777214 8ms 3.516 MiB
#4 Runtime Error Segmentation fault 76ms 16.043 MiB
#5 Runtime Error Segmentation fault 74ms 15.984 MiB
#6 Runtime Error Segmentation fault 79ms 15.957 MiB
#7 Runtime Error Segmentation fault 80ms 16.402 MiB
#8 Wrong Answer 读取到 1048572 ,应为 1048574 242ms 9.457 MiB
#9 Accepted 144ms 9.457 MiB
#10 Accepted 215ms 9.406 MiB

信息

递交者
类型
递交
题目
Codechef REBXOR
题目数据
下载
语言
C++
递交时间
2020-07-25 22:19:10
评测时间
2020-07-25 22:19:10
评测机
分数
20
总耗时
937ms
峰值内存
16.402 MiB