/ Vijos /

记录详情

Accepted

foo.cc: In function 'void solve(int, int)':
foo.cc:30:14: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
   30 |     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]
   55 |     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]
   57 |         scanf("%lf %lf %lf",&s[i].a,&s[i].b,&s[i].r);
      |         ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
正在同步测试数据,请稍后
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 2ms 384.0 KiB
#2 Accepted 2ms 384.0 KiB
#3 Accepted 2ms 384.0 KiB
#4 Accepted 1ms 384.0 KiB
#5 Accepted 2ms 512.0 KiB
#6 Accepted 3ms 512.0 KiB
#7 Accepted 85ms 6.121 MiB
#8 Accepted 72ms 6.117 MiB
#9 Accepted 185ms 11.992 MiB
#10 Accepted 156ms 11.992 MiB

信息

递交者
类型
递交
题目
P1508 货币兑换
语言
C++
递交时间
2022-07-19 17:29:00
评测时间
2022-07-19 17:29:00
评测机
分数
100
总耗时
515ms
峰值内存
11.992 MiB