记录详情

Time Exceeded

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 75ms 31.242 MiB
#2 Accepted 72ms 31.242 MiB
#3 Accepted 72ms 31.242 MiB
#4 Accepted 147ms 31.867 MiB
#5 Accepted 98ms 31.242 MiB
#6 Accepted 87ms 31.246 MiB
#7 Accepted 87ms 31.242 MiB
#8 Accepted 120ms 31.867 MiB
#9 Time Exceeded ≥118ms ≥31.867 MiB
#10 Time Exceeded ≥130ms ≥31.367 MiB

信息

递交者
类型
递交
题目
P1332 组合数问题(数据弱化)
比赛
2022春季 荣誉练习赛1(2019蓝桥A组省赛重温)
语言
C++
递交时间
2022-03-19 21:52:38
评测时间
2022-03-19 22:38:53
评测机
分数
80
总耗时
≥1010ms
峰值内存
≥31.867 MiB