记录详情

Wrong Answer

/in/foo.cc: In function 'int main()':
/in/foo.cc:10:5: warning: comparison of constant '23' with boolean expression is always true [-Wbool-compare]
   10 | 0<=h<=23;
      | ~~~~^~~~
/in/foo.cc:10:2: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
   10 | 0<=h<=23;
      | ~^~~
/in/foo.cc:10:5: warning: statement has no effect [-Wunused-value]
   10 | 0<=h<=23;
      | ~~~~^~~~
/in/foo.cc:11:5: warning: comparison of constant '59' with boolean expression is always true [-Wbool-compare]
   11 | 0<=m<=59;
      | ~~~~^~~~
/in/foo.cc:11:2: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
   11 | 0<=m<=59;
      | ~^~~
/in/foo.cc:11:5: warning: statement has no effect [-Wunused-value]
   11 | 0<=m<=59;
      | ~~~~^~~~
/in/foo.cc:12:5: warning: comparison of constant '59' with boolean expression is always true [-Wbool-compare]
   12 | 0<=s<=59;
      | ~~~~^~~~
/in/foo.cc:12:2: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
   12 | 0<=s<=59;
      | ~^~~
/in/foo.cc:12:5: warning: statement has no effect [-Wunused-value]
   12 | 0<=s<=59;
      | ~~~~^~~~
/in/foo.cc:13:5: warning: comparison of constant '59' with boolean expression is always true [-Wbool-compare]
   13 | 0<=S<=59;
      | ~~~~^~~~
/in/foo.cc:13:2: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
   13 | 0<=S<=59;
      | ~^~~
/in/foo.cc:13:5: warning: statement has no effect [-Wunused-value]
   13 | 0<=S<=59;
      | ~~~~^~~~
# 状态 耗时 内存占用
#1 Wrong Answer 2ms 532.0 KiB

信息

递交者
类型
自测
题目
P1009 contest1-1 时间类Time
语言
C++
递交时间
2026-11-13 19:35:23
评测时间
2026-11-13 19:35:23
评测机
分数
0
总耗时
2ms
峰值内存
532.0 KiB