Accepted

foo.cc: In function ‘void read(_T&)’:
foo.cc:11:1: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
   11 | if(_t=='-')_flag=1,_t=getchar();_x=_t-'0';
      | ^~
foo.cc:11:33: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
   11 | if(_t=='-')_flag=1,_t=getchar();_x=_t-'0';
      |                                 ^~
# 状态 耗时 内存占用
#1 Accepted 2ms 504.0 KiB
#2 Accepted 2ms 504.0 KiB
#3 Accepted 3ms 504.0 KiB
#4 Accepted 2ms 504.0 KiB
#5 Accepted 2ms 504.0 KiB
#6 Accepted 2ms 504.0 KiB
#7 Accepted 10ms 1.992 MiB
#8 Accepted 20ms 4.062 MiB
#9 Accepted 35ms 6.492 MiB
#10 Accepted 34ms 6.492 MiB

信息

递交者
类型
递交
题目
P1405 联合权值
语言
C++
递交时间
2025-07-23 13:30:42
评测时间
2025-07-23 13:30:42
评测机
分数
100
总耗时
117ms
峰值内存
6.492 MiB