/ new_bzoj /

记录详情

Accepted

foo.cc: In function 'void stepCal()':
foo.cc:83:13: warning: format '%d' expects argument of type 'int', but argument 2 has type 'numSer' {aka 'long long int'} [-Wformat=]
   83 |    printf("%d\n", g[N]);
      |            ~^     ~~~~
      |             |        |
      |             int      numSer {aka long long int}
      |            %lld
foo.cc: In function 'void init()':
foo.cc:23:9: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   23 |    scanf("%d", &N);
      |    ~~~~~^~~~~~~~~~
foo.cc:26:12: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   26 |       scanf("%d", &a[i]);
      |       ~~~~~^~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 9ms 888.0 KiB
#2 Accepted 3ms 512.0 KiB
#3 Accepted 3ms 512.0 KiB
#4 Accepted 7ms 640.0 KiB
#5 Accepted 9ms 768.0 KiB
#6 Accepted 94ms 1.742 MiB
#7 Accepted 5ms 512.0 KiB
#8 Accepted 2ms 512.0 KiB
#9 Accepted 2ms 512.0 KiB
#10 Accepted 5ms 512.0 KiB
#11 Accepted 6ms 512.0 KiB

信息

递交者
类型
递交
题目
数字序列
语言
C++
递交时间
2022-04-18 02:01:38
评测时间
2022-04-18 02:01:38
评测机
分数
100
总耗时
149ms
峰值内存
1.742 MiB