记录详情

Time Exceeded

foo.cc: In function 'void Build(long long int, long long int, long long int)':
foo.cc:16:14: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
  int mid = l + r >> 1;
            ~~^~~
foo.cc: In function 'void pushcol(long long int, long long int, long long int)':
foo.cc:24:14: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
  int mid = l + r >> 1;
            ~~^~~
foo.cc: In function 'long long int Query(long long int, long long int, long long int, long long int, long long int)':
foo.cc:38:14: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
  int mid = l + r >> 1, res = 0;
            ~~^~~
foo.cc: In function 'void Modify(long long int, long long int, long long int, long long int, long long int, long long int)':
foo.cc:52:14: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
  int mid = l + r >> 1;
            ~~^~~
foo.cc: In function 'void Build(long long int, long long int, long long int)':
foo.cc:13:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   scanf("%lld", &sum[u]);
   ~~~~~^~~~~~~~~~~~~~~~~
foo.cc: In function 'int main()':
foo.cc:59: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:64:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   scanf("%lld %lld %lld", &opt, &l, &r);
   ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
foo.cc:68:9: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
    scanf("%lld", &x);
    ~~~~~^~~~~~~~~~~~
正在同步测试数据,请稍后
自豪的采用HydroJudge(https://github.com/hydro-dev/Hydro)进行评测。
# 状态 耗时 内存占用
#1 Accepted 138ms 6.809 MiB
#2 Accepted 775ms 19.328 MiB
#3 Accepted 1511ms 51.422 MiB
#4 Time Exceeded ≥2057ms ≥39.473 MiB
#5 Accepted 1380ms 32.555 MiB
#6 Time Exceeded ≥2578ms ≥32.52 MiB

信息

递交者
类型
递交
题目
P1020 【模板】线段树
语言
C++
递交时间
2021-04-09 19:43:11
评测时间
2021-04-09 19:43:11
评测机
分数
40
总耗时
≥8441ms
峰值内存
≥51.422 MiB