记录详情

Wrong Answer

/in/foo.cc: In function 'int main()':
/in/foo.cc:12:14: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses]
   12 |     if (not a>=60);
      |              ^~
/in/foo.cc:12:9: note: add parentheses around left hand side expression to silence this warning
   12 |     if (not a>=60);
      |         ^~~~~
      |         (    )
/in/foo.cc:12:14: warning: comparison of constant '60' with boolean expression is always false [-Wbool-compare]
   12 |     if (not a>=60);
      |         ~~~~~^~~~
/in/foo.cc:18:14: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses]
   18 |     if (not y>=60);
      |              ^~
/in/foo.cc:18:9: note: add parentheses around left hand side expression to silence this warning
   18 |     if (not y>=60);
      |         ^~~~~
      |         (    )
/in/foo.cc:18:14: warning: comparison of constant '60' with boolean expression is always false [-Wbool-compare]
   18 |     if (not y>=60);
      |         ~~~~~^~~~
/in/foo.cc:23:14: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses]
   23 |     if (not x>=24);
      |              ^~
/in/foo.cc:23:9: note: add parentheses around left hand side expression to silence this warning
   23 |     if (not x>=24);
      |         ^~~~~
      |         (    )
/in/foo.cc:23:14: warning: comparison of constant '24' with boolean expression is always false [-Wbool-compare]
   23 |     if (not x>=24);
      |         ~~~~~^~~~
# 状态 耗时 内存占用
#1 Wrong Answer 2ms 540.0 KiB
#2 Wrong Answer 1ms 352.0 KiB
#3 Wrong Answer 1ms 532.0 KiB
#4 Wrong Answer 1ms 360.0 KiB
#5 Wrong Answer 1ms 532.0 KiB

信息

递交者
类型
递交
题目
P1009 contest1-1 时间类Time
比赛
2026-11-13 C++实测1
语言
C++
递交时间
2026-11-13 20:04:42
评测时间
2026-11-13 20:04:42
评测机
分数
0
总耗时
8ms
峰值内存
540.0 KiB