/ Vijos /

记录详情

Accepted

foo.cc: In function ‘void write(int)’:
foo.cc:10:9: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
   10 |         if(x<0)putchar('-'),x=-x;if(x>9)write(x/10);
      |         ^~
foo.cc:10:34: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
   10 |         if(x<0)putchar('-'),x=-x;if(x>9)write(x/10);
      |                                  ^~
foo.cc: In function ‘void writeln(int)’:
foo.cc:14:9: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
   14 |         if(x<0)putchar('-'),x=-x;if(x>9)write(x/10);
      |         ^~
foo.cc:14:34: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
   14 |         if(x<0)putchar('-'),x=-x;if(x>9)write(x/10);
      |                                  ^~
# 状态 耗时 内存占用
#1 Accepted 19ms 16.023 MiB
#2 Accepted 19ms 15.758 MiB
#3 Accepted 18ms 15.84 MiB
#4 Accepted 18ms 16.02 MiB
#5 Accepted 19ms 15.773 MiB
#6 Accepted 18ms 16.262 MiB
#7 Accepted 18ms 16.52 MiB
#8 Accepted 19ms 16.062 MiB
#9 Accepted 18ms 16.273 MiB
#10 Accepted 18ms 16.273 MiB

信息

递交者
类型
递交
题目
P1057 盖房子
语言
C++
递交时间
2024-09-28 20:55:04
评测时间
2024-09-28 20:55:04
评测机
分数
100
总耗时
189ms
峰值内存
16.52 MiB