/ Vijos /

记录详情

Accepted

foo.cc: In function 'void dts::dfs(std::vector<double>)':
foo.cc:35:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
             for (ll i=0;i<rec.size();i++)
                         ~^~~~~~~~~~~
foo.cc:36:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                 for (ll j=i+1;j<rec.size();j++)
                               ~^~~~~~~~~~~
foo.cc:38:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                     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]
             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]
                 scanf("%lf",&key);
                 ~~~~~^~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 2ms 388.0 KiB
#2 Accepted 3ms 392.0 KiB
#3 Accepted 2ms 384.0 KiB
#4 Accepted 3ms 404.0 KiB
#5 Accepted 2ms 384.0 KiB
#6 Accepted 2ms 384.0 KiB
#7 Accepted 3ms 404.0 KiB
#8 Accepted 2ms 384.0 KiB
#9 Accepted 2ms 408.0 KiB
#10 Accepted 3ms 384.0 KiB

信息

递交者
类型
递交
题目
P1140 24点游戏狂想曲
语言
C++
递交时间
2021-09-30 18:14:16
评测时间
2021-09-30 18:14:16
评测机
分数
100
总耗时
31ms
峰值内存
408.0 KiB