/ 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]);
 ~~~~~^~~~~~~~~~~~~~~~
正在同步测试数据,请稍后
自豪的采用HydroJudge(https://github.com/hydro-dev/Hydro)进行评测。
# 状态 耗时 内存占用
#1 Accepted 0ms 256.0 KiB
#2 Accepted 0ms 256.0 KiB
#3 Accepted 0ms 256.0 KiB
#4 Accepted 0ms 256.0 KiB
#5 Accepted 0ms 256.0 KiB
#6 Accepted 1ms 256.0 KiB
#7 Accepted 9ms 1.176 MiB
#8 Accepted 4ms 676.0 KiB
#9 Accepted 9ms 1.258 MiB
#10 Accepted 17ms 1.828 MiB

信息

递交者
类型
递交
题目
P1285 佳佳的魔法药水
语言
C++
递交时间
2021-03-26 21:18:57
评测时间
2021-03-26 21:18:57
评测机
分数
100
总耗时
46ms
峰值内存
1.828 MiB