/ 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 292.0 KiB
#3 Accepted 1ms 256.0 KiB
#4 Accepted 1ms 256.0 KiB
#5 Accepted 1ms 284.0 KiB
#6 Accepted 1ms 256.0 KiB
#7 Accepted 9ms 1.48 MiB
#8 Accepted 4ms 820.0 KiB
#9 Accepted 11ms 1.734 MiB
#10 Accepted 18ms 2.414 MiB

信息

递交者
类型
递交
题目
P1285 佳佳的魔法药水
语言
C++
递交时间
2021-08-08 21:30:56
评测时间
2021-08-08 21:30:56
评测机
分数
100
总耗时
49ms
峰值内存
2.414 MiB