/ 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]
 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]
 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]
 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]
 return ans;
        ^~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 2ms 1.004 MiB
#2 Accepted 2ms 404.0 KiB
#3 Accepted 2ms 1.0 MiB
#4 Accepted 2ms 1.0 MiB
#5 Accepted 2ms 1.004 MiB
#6 Accepted 3ms 1.004 MiB
#7 Accepted 3ms 1.0 MiB
#8 Accepted 4ms 1020.0 KiB
#9 Accepted 8ms 1.105 MiB
#10 Accepted 3ms 1.012 MiB

信息

递交者
类型
递交
题目
P1523 贪吃的九头龙
语言
C++
递交时间
2021-07-21 21:03:12
评测时间
2021-07-21 21:03:12
评测机
分数
100
总耗时
36ms
峰值内存
1.105 MiB