/ Vijos /

记录详情

Accepted

foo.cc: In function 'pii dfs(int)':
foo.cc:27:11: warning: unused variable 'c1' [-Wunused-variable]
 int s1,s2,c1,c2;
           ^~
foo.cc:27:14: warning: unused variable 'c2' [-Wunused-variable]
 int s1,s2,c1,c2;
              ^~
foo.cc: In function 'int main()':
foo.cc:66:6: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
 scanf("%d",&n);
 ~~~~~^~~~~~~~~
foo.cc:70:6: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
 scanf("%d",&price[i]);
 ~~~~~^~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 0ms 256.0 KiB
#2 Accepted 1ms 284.0 KiB
#3 Accepted 1ms 256.0 KiB
#4 Accepted 1ms 288.0 KiB
#5 Accepted 1ms 256.0 KiB
#6 Accepted 1ms 296.0 KiB
#7 Accepted 9ms 1.391 MiB
#8 Accepted 6ms 776.0 KiB
#9 Accepted 13ms 1.688 MiB
#10 Accepted 19ms 2.41 MiB

信息

递交者
类型
递交
题目
P1285 佳佳的魔法药水
语言
C++
递交时间
2021-07-18 11:12:54
评测时间
2021-07-18 11:12:54
评测机
分数
100
总耗时
55ms
峰值内存
2.41 MiB