记录详情

Compile Error

/in/foo.c: In function 'main':
/in/foo.c:12:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
   12 |         else if(d=60){
      |                 ^
/in/foo.c:16:28: error: lvalue required as left operand of assignment
   16 |                 else if(b+1=60){
      |                            ^
/in/foo.c:29:28: error: lvalue required as left operand of assignment
   29 |                 else if(b+1=60){
      |                            ^
/in/foo.c:29:17: note: '-Wmisleading-indentation' is disabled from this point onwards, since column-tracking was disabled due to the size of the code/headers
   29 |                 else if(b+1=60){
      |                 ^~~~
/in/foo.c:29:17: note: adding '-flarge-source-files' will allow for more column-tracking support, at the expense of compilation time and memory
/in/foo.c:38:1: error: expected declaration or statement at end of input
   38 | }
      | ^
/in/foo.c:38:1: error: expected declaration or statement at end of input
/in/foo.c:38:1: error: expected declaration or statement at end of input

信息

递交者
类型
自测
题目
P1000 OO1-1 时间类Time
语言
C
递交时间
2025-09-27 13:45:33
评测时间
2025-10-03 01:40:43
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes