记录详情

Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:10:9: warning: comparison of constant '1000' with boolean expression is always true [-Wbool-compare]
  1 <= n <= 1000 & 2 <= k <= 100;
  ~~~~~~~^~~~~~~
/in/foo.cc:10:4: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
  1 <= n <= 1000 & 2 <= k <= 100;
  ~~^~~~
/in/foo.cc:10:26: warning: comparison of constant '100' with boolean expression is always true [-Wbool-compare]
  1 <= n <= 1000 & 2 <= k <= 100;
                   ~~~~~~~^~~~~~
/in/foo.cc:10:21: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
  1 <= n <= 1000 & 2 <= k <= 100;
                   ~~^~~~
/in/foo.cc:10:9: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses]
  1 <= n <= 1000 & 2 <= k <= 100;
  ~~~~~~~^~~~~~~
/in/foo.cc:10:17: warning: statement has no effect [-Wunused-value]
  1 <= n <= 1000 & 2 <= k <= 100;
  ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 2ms 540.0 KiB
#2 Accepted 2ms 596.0 KiB
#3 Accepted 2ms 528.0 KiB
#4 Accepted 2ms 540.0 KiB
#5 Accepted 2ms 544.0 KiB
#6 Accepted 2ms 532.0 KiB
#7 Accepted 2ms 568.0 KiB
#8 Accepted 2ms 592.0 KiB
#9 Accepted 2ms 500.0 KiB
#10 Accepted 2ms 504.0 KiB

信息

递交者
类型
递交
题目
P1475 A. Minimum quantity
比赛
2023年新生赛(第二场)
语言
C++
递交时间
2023-08-25 17:44:15
评测时间
2023-08-25 17:44:15
评测机
分数
100
总耗时
24ms
峰值内存
596.0 KiB