/ WHOJ /

记录详情

Wrong Answer

foo.cc: In function 'int main()':
foo.cc:44:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   44 |  scanf("%d%d", &n, &m);
      |  ~~~~~^~~~~~~~~~~~~~~~
foo.cc:46:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   46 |   scanf("%d", a + i);
      |   ~~~~~^~~~~~~~~~~~~
foo.cc:50:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   50 |   scanf("%s", op);
      |   ~~~~~^~~~~~~~~~
foo.cc:52:9: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   52 |    scanf("%d%d%d", &l, &r, &d);
      |    ~~~~~^~~~~~~~~~~~~~~~~~~~~~
foo.cc:57:9: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   57 |    scanf("%d%d", &l, &r);
      |    ~~~~~^~~~~~~~~~~~~~~~
foo.cc:61:9: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   61 |    scanf("%d%d%d", &l, &r, &d);
      |    ~~~~~^~~~~~~~~~~~~~~~~~~~~~
foo.cc:65:9: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   65 |    scanf("%d", &tnow);
      |    ~~~~~^~~~~~~~~~~~~
Found 6 testcases.
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 2ms 256.0 KiB
#2 Accepted 2ms 256.0 KiB
#3 Accepted 2ms 256.0 KiB
#4 Wrong Answer Read 0, expect 212160. 2ms 256.0 KiB
#5 Accepted 6ms 640.0 KiB
#6 Accepted 2ms 384.0 KiB

信息

递交者
类型
递交
题目
P1178 【模板】可持续化线段树 1
题目数据
下载
语言
C++
递交时间
2022-06-03 18:16:25
评测时间
2022-06-03 18:16:25
评测机
分数
83
总耗时
19ms
峰值内存
640.0 KiB