记录详情

Accepted

foo.cc: In function ‘int main()’:
foo.cc:7:9: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
    7 |         if(b>a) //a>b
      |         ^~
foo.cc:9:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
    9 |                 a=b;
      |                 ^
foo.cc:11:9: warning: ‘d’ may be used uninitialized [-Wmaybe-uninitialized]
   11 |         if(c<b)
      |         ^~
foo.cc:5:19: note: ‘d’ was declared here
    5 |         int a,b,c,d;
      |                   ^
# 状态 耗时 内存占用
#1 Accepted 2ms 504.0 KiB

信息

递交者
类型
自测
语言
C++
递交时间
2025-08-13 14:42:48
评测时间
2025-08-13 14:42:48
评测机
分数
10
总耗时
2ms
峰值内存
504.0 KiB