/ Vijos /

记录详情

Accepted

foo.cc: In function 'void solve(int, int)':
foo.cc:30:14: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
     int mid=l+r>>1,k1=l-1,k2=mid,kk;
             ~^~
foo.cc: In function 'int main()':
foo.cc:55:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
     scanf("%d %lf",&n,&f[0]);
     ~~~~~^~~~~~~~~~~~~~~~~~~
foo.cc:57:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
         scanf("%lf %lf %lf",&s[i].a,&s[i].b,&s[i].r);
         ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 2ms 416.0 KiB
#2 Accepted 2ms 412.0 KiB
#3 Accepted 2ms 408.0 KiB
#4 Accepted 2ms 392.0 KiB
#5 Accepted 3ms 384.0 KiB
#6 Accepted 4ms 520.0 KiB
#7 Accepted 101ms 9.016 MiB
#8 Accepted 89ms 9.133 MiB
#9 Accepted 209ms 17.797 MiB
#10 Accepted 209ms 17.824 MiB

信息

递交者
类型
递交
题目
P1508 货币兑换
语言
C++
递交时间
2021-07-21 21:00:23
评测时间
2021-07-21 21:00:57
评测机
分数
100
总耗时
627ms
峰值内存
17.824 MiB