/ Vijos /

记录详情

Accepted

foo.cc: In function 'void dts::dfs(std::vector<double>)':
foo.cc:35:26: warning: comparison of integer expressions of different signedness: 'dts::ll' {aka 'long long int'} and 'std::vector<double>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   35 |             for (ll i=0;i<rec.size();i++)
      |                         ~^~~~~~~~~~~
foo.cc:36:32: warning: comparison of integer expressions of different signedness: 'dts::ll' {aka 'long long int'} and 'std::vector<double>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   36 |                 for (ll j=i+1;j<rec.size();j++)
      |                               ~^~~~~~~~~~~
foo.cc:38:38: warning: comparison of integer expressions of different signedness: 'dts::ll' {aka 'long long int'} and 'std::vector<double>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   38 |                     for (ll k=0,l=0;k<rec.size();k++)
      |                                     ~^~~~~~~~~~~
foo.cc: In function 'void dts::main()':
foo.cc:69:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   69 |             scanf("%lf",&a[i]);
      |             ~~~~~^~~~~~~~~~~~~
foo.cc:73:22: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   73 |                 scanf("%lf",&key);
      |                 ~~~~~^~~~~~~~~~~~
正在同步测试数据,请稍后
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 6ms 384.0 KiB
#2 Accepted 9ms 256.0 KiB
#3 Accepted 7ms 384.0 KiB
#4 Accepted 7ms 384.0 KiB
#5 Accepted 3ms 384.0 KiB
#6 Accepted 3ms 384.0 KiB
#7 Accepted 3ms 384.0 KiB
#8 Accepted 2ms 384.0 KiB
#9 Accepted 2ms 384.0 KiB
#10 Accepted 8ms 512.0 KiB

信息

递交者
类型
递交
题目
P1140 24点游戏狂想曲
语言
C++
递交时间
2022-07-17 16:07:19
评测时间
2022-07-17 16:07:19
评测机
分数
100
总耗时
55ms
峰值内存
512.0 KiB