记录详情

Wrong Answer

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

信息

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