/ fuboat /

记录详情

Time Exceeded

foo.cc: In member function 'void Block::calcQueryAns()':
foo.cc:134:9: warning: unused variable 'v' [-Wunused-variable]
     int v = ele_values[p];
         ^
foo.cc:114:7: warning: unused variable 'N' [-Wunused-variable]
   int N = ele_values.size();
       ^
foo.cc: In function 'void solve()':
foo.cc:170:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  scanf("%d%d%d%d", &n, &w, &q, &opt);
  ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
foo.cc:173:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   scanf("%d", a + i);
   ~~~~~^~~~~~~~~~~~~
foo.cc:182:90: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   scanf("%d%d%d", &l, &r, &k), l ^= opt * lastans, r ^= opt * lastans, k ^= opt * lastans, --l;
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
foo.cc: In function 'int main()':
foo.cc:196:10: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
   freopen("input.txt", "r", stdin);
   ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
foo.cc:197:10: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
   freopen("output.txt", "w", stdout);
   ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Time Exceeded ≥936ms ≥143.188 MiB
#2 Time Exceeded ≥1022ms ≥162.359 MiB
#3 Time Exceeded ≥1209ms ≥207.324 MiB
#4 Time Exceeded ≥1208ms ≥254.559 MiB
#5 Time Exceeded ≥977ms ≥228.91 MiB
#6 Time Exceeded ≥941ms ≥238.59 MiB
#7 Time Exceeded ≥678ms ≥223.168 MiB
#8 Time Exceeded ≥711ms ≥215.121 MiB
#9 Time Exceeded ≥993ms ≥260.328 MiB
#10 Time Exceeded ≥964ms ≥211.402 MiB

信息

递交者
类型
递交
题目
[NOI2017 模拟] 区间第 k 小
语言
C++
递交时间
2021-09-13 16:44:23
评测时间
2021-09-13 16:44:23
评测机
分数
0
总耗时
≥9642ms
峰值内存
≥260.328 MiB