/ Vijos /

记录详情

Accepted

foo.cc: In function 'pii dfs(int)':
foo.cc:27:11: warning: unused variable 'c1' [-Wunused-variable]
   27 | int s1,s2,c1,c2;
      |           ^~
foo.cc:27:14: warning: unused variable 'c2' [-Wunused-variable]
   27 | 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]
   66 | scanf("%d",&n);
      | ~~~~~^~~~~~~~~
foo.cc:70:6: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   70 | scanf("%d",&price[i]);
      | ~~~~~^~~~~~~~~~~~~~~~
正在同步测试数据,请稍后
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 1ms 384.0 KiB
#2 Accepted 1ms 256.0 KiB
#3 Accepted 3ms 256.0 KiB
#4 Accepted 2ms 256.0 KiB
#5 Accepted 2ms 256.0 KiB
#6 Accepted 3ms 384.0 KiB
#7 Accepted 22ms 1.125 MiB
#8 Accepted 9ms 640.0 KiB
#9 Accepted 24ms 1.375 MiB
#10 Accepted 31ms 1.75 MiB

信息

递交者
类型
递交
题目
P1285 佳佳的魔法药水
语言
C++
递交时间
2022-01-01 09:30:51
评测时间
2022-01-01 09:30:51
评测机
分数
100
总耗时
102ms
峰值内存
1.75 MiB