/ Vijos /

记录详情

Accepted

foo.cc: In function 'void dts::dfs(std::vector<double>)':
foo.cc:30:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
    for (ll i=0; i<rec.size(); i++)
                 ~^~~~~~~~~~~
foo.cc:31:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for (ll j=i+1; j<rec.size(); j++) {
                    ~^~~~~~~~~~~
foo.cc:32:24: 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:59:9: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
    scanf("%lf",&a[i]);
    ~~~~~^~~~~~~~~~~~~
foo.cc:62:10: 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 428.0 KiB
#2 Accepted 3ms 384.0 KiB
#3 Accepted 3ms 384.0 KiB
#4 Accepted 3ms 432.0 KiB
#5 Accepted 3ms 384.0 KiB
#6 Accepted 3ms 384.0 KiB
#7 Accepted 2ms 384.0 KiB
#8 Accepted 2ms 384.0 KiB
#9 Accepted 2ms 384.0 KiB
#10 Accepted 4ms 392.0 KiB

信息

递交者
类型
递交
题目
P1140 24点游戏狂想曲
语言
C++
递交时间
2021-08-12 21:11:24
评测时间
2021-08-12 21:13:31
评测机
分数
100
总耗时
31ms
峰值内存
432.0 KiB