/ fuboat /

记录详情

Time Exceeded

foo.cc: In function 'void solve()':
foo.cc:41: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:44:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   scanf("%d", a + i);
   ~~~~~^~~~~~~~~~~~~
foo.cc:51: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:65: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);
   ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
正在同步测试数据,请稍后
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Time Exceeded ≥2391ms ≥1.402 MiB
#2 Time Exceeded ≥2392ms ≥1.441 MiB
#3 Time Exceeded ≥2379ms ≥1.293 MiB
#4 Time Exceeded ≥2379ms ≥1.336 MiB
#5 Time Exceeded ≥2380ms ≥1.16 MiB
#6 Time Exceeded ≥2378ms ≥1.188 MiB
#7 Time Exceeded ≥2409ms ≥1.301 MiB
#8 Time Exceeded ≥2406ms ≥1.301 MiB
#9 Time Exceeded ≥2394ms ≥1.297 MiB
#10 Time Exceeded ≥2407ms ≥1.312 MiB

信息

递交者
类型
递交
题目
[NOI2017 模拟] 区间第 k 小
语言
C++
递交时间
2021-09-13 15:52:31
评测时间
2021-09-13 15:52:32
评测机
分数
0
总耗时
≥23919ms
峰值内存
≥1.441 MiB