/ Vijos /

记录详情

Accepted

foo.cc: In function 'bool input()':
foo.cc:44:6: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   44 | scanf("%d%d%d",&N,&M,&K);
      | ~~~~~^~~~~~~~~~~~~~~~~~~
foo.cc:51:6: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   51 | scanf("%d%d%d",&a,&b,&c);
      | ~~~~~^~~~~~~~~~~~~~~~~~~
foo.cc: In function 'int solve_aux_3()':
foo.cc:149:8: warning: 'ans' may be used uninitialized in this function [-Wmaybe-uninitialized]
  149 | return ans;
      |        ^~~
foo.cc: In function 'int solve_aux_2()':
foo.cc:212:8: warning: 'ans' may be used uninitialized in this function [-Wmaybe-uninitialized]
  212 | return ans;
      |        ^~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 2ms 1.0 MiB
#2 Accepted 2ms 428.0 KiB
#3 Accepted 2ms 1.25 MiB
#4 Accepted 2ms 1.125 MiB
#5 Accepted 2ms 1.125 MiB
#6 Accepted 3ms 1.25 MiB
#7 Accepted 3ms 1.125 MiB
#8 Accepted 5ms 1.0 MiB
#9 Accepted 11ms 1.125 MiB
#10 Accepted 4ms 1.125 MiB

信息

递交者
类型
递交
题目
P1523 贪吃的九头龙
语言
C++
递交时间
2022-07-18 16:22:46
评测时间
2022-07-18 16:22:46
评测机
分数
100
总耗时
39ms
峰值内存
1.25 MiB