/ Vijos /

记录详情

Wrong Answer

foo.cc: In function 'int main()':
foo.cc:7:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  scanf("%d",&n);
  ~~~~~^~~~~~~~~
foo.cc:13:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   scanf("%d",&x);
   ~~~~~^~~~~~~~~
foo.cc:18:9: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
    scanf("%d",&x);
    ~~~~~^~~~~~~~~
foo.cc:20:46: warning: iteration 10000 invokes undefined behavior [-Waggressive-loop-optimizations]
   for (int j = 0; j <= MAXN; j ++) f[j] = f[j] & f1[j];
                                           ~~~^
foo.cc:20:21: note: within this loop
   for (int j = 0; j <= MAXN; j ++) f[j] = f[j] & f1[j];
                   ~~^~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 1ms 404.0 KiB
#2 Wrong Answer Read 1049, expect 299. 2ms 408.0 KiB
#3 Wrong Answer Read 356, expect 72. 1ms 384.0 KiB
#4 Wrong Answer Read 1592, expect 245. 2ms 384.0 KiB
#5 Wrong Answer Read 1232, expect 99. 2ms 384.0 KiB
#6 Wrong Answer Read 855, expect 267. 1ms 416.0 KiB
#7 Wrong Answer Read 1423, expect 64. 2ms 400.0 KiB
#8 Wrong Answer Read 620, expect 0. 1ms 452.0 KiB
#9 Wrong Answer Read 5237, expect 4465. 3ms 416.0 KiB
#10 Wrong Answer Read 6000, expect 4400. 3ms 444.0 KiB

信息

递交者
类型
递交
题目
P1059 积木城堡
语言
C++
递交时间
2021-10-22 21:04:49
评测时间
2021-10-22 21:04:49
评测机
分数
10
总耗时
23ms
峰值内存
452.0 KiB