/ WHOJ /

记录详情

Wrong Answer

foo.cc: In function 'int main()':
foo.cc:18:11: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
   18 |   scanf("%d%d",&n[i],&k[i]);
      |          ~^    ~~~~~
      |           |    |
      |           int* long long int*
      |          %lld
foo.cc:18:13: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long int*' [-Wformat=]
   18 |   scanf("%d%d",&n[i],&k[i]);
      |            ~^        ~~~~~
      |             |        |
      |             int*     long long int*
      |            %lld
foo.cc:8:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
    8 |  scanf("%d",&t);
      |  ~~~~~^~~~~~~~~
foo.cc:18:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   18 |   scanf("%d%d",&n[i],&k[i]);
      |   ~~~~~^~~~~~~~~~~~~~~~~~~~
Found 20 testcases.
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 7ms 2.125 MiB
#2 Accepted 8ms 2.125 MiB
#3 Accepted 20ms 2.5 MiB
#4 Accepted 11ms 2.0 MiB
#5 Accepted 17ms 2.25 MiB
#6 Accepted 14ms 2.0 MiB
#7 Accepted 4ms 1.875 MiB
#8 Accepted 4ms 1.875 MiB
#9 Accepted 4ms 1.875 MiB
#10 Accepted 6ms 1.875 MiB
#11 Accepted 6ms 1.875 MiB
#12 Accepted 7ms 2.125 MiB
#13 Accepted 14ms 2.375 MiB
#14 Accepted 13ms 2.5 MiB
#15 Accepted 15ms 2.5 MiB
#16 Wrong Answer Read 0, expect 19832425. 14ms 2.0 MiB
#17 Accepted 21ms 2.625 MiB
#18 Accepted 20ms 2.625 MiB
#19 Accepted 9ms 2.0 MiB
#20 Accepted 18ms 2.375 MiB

信息

递交者
类型
递交
题目
P1487 求符合规则的数个数
题目数据
下载
语言
C++
递交时间
2022-08-09 20:31:38
评测时间
2022-08-09 20:36:36
评测机
分数
95
总耗时
240ms
峰值内存
2.625 MiB