记录详情

Runtime Error

foo.cc: In function 'int main()':
foo.cc:133:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  scanf("%lld %lld", &n, &m);
  ~~~~~^~~~~~~~~~~~~~~~~~~~~
foo.cc:139:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   scanf("%lld", &a);
   ~~~~~^~~~~~~~~~~~
foo.cc:145:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   scanf("%lld", &opt);
   ~~~~~^~~~~~~~~~~~~~
foo.cc:149:9: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
    scanf("%lld %lld %lld", &l, &r, &x);
    ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
foo.cc:155:9: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
    scanf("%lld %lld", &l, &r);
    ~~~~~^~~~~~~~~~~~~~~~~~~~~
正在同步测试数据,请稍后
自豪的采用HydroJudge(https://github.com/hydro-dev/Hydro)进行评测。
# 状态 耗时 内存占用
#1 Accepted 526ms 10.664 MiB
#2 Runtime Error Segmentation fault 36ms 8.77 MiB
#3 Runtime Error Segmentation fault 36ms 8.754 MiB
#4 Runtime Error Segmentation fault 36ms 8.789 MiB
#5 Runtime Error Segmentation fault 36ms 8.762 MiB
#6 Runtime Error Segmentation fault 36ms 8.781 MiB

信息

递交者
类型
递交
题目
P1020 【模板】线段树
语言
C++
递交时间
2021-02-27 15:11:33
评测时间
2021-02-27 15:11:33
评测机
分数
10
总耗时
709ms
峰值内存
10.664 MiB