记录详情

Accepted

foo.cc: In function 'int main()':
foo.cc:131:17: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'LL*' {aka 'long long int*'} [-Wformat=]
  131 |         scanf("%d%d",&t,&k);
      |                ~^    ~~
      |                 |    |
      |                 int* LL* {aka long long int*}
      |                %lld
foo.cc:131:19: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'LL*' {aka 'long long int*'} [-Wformat=]
  131 |         scanf("%d%d",&t,&k);
      |                  ~^     ~~
      |                   |     |
      |                   int*  LL* {aka long long int*}
      |                  %lld
foo.cc: In function 'void solve()':
foo.cc:119:22: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  119 |                 scanf("%d%d",&n,&m);
      |                 ~~~~~^~~~~~~~~~~~~~
foo.cc: In function 'int main()':
foo.cc:131:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  131 |         scanf("%d%d",&t,&k);
      |         ~~~~~^~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 85ms 31.242 MiB

信息

递交者
类型
自测
题目
P1332 组合数问题(数据弱化)
语言
C++
递交时间
2022-03-19 21:52:30
评测时间
2022-03-19 21:52:30
评测机
分数
10
总耗时
85ms
峰值内存
31.242 MiB