/ Vijos /

记录详情

Accepted

foo.cc: In function 'int main()':
foo.cc:102:21: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
  102 |                     if(s[i][j] != '_') ++ r ; if(l > r) continue ;
      |                     ^~
foo.cc:102:47: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
  102 |                     if(s[i][j] != '_') ++ r ; if(l > r) continue ;
      |                                               ^~
foo.cc:134:21: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
  134 |                     if(s[i][j] != '_') ++ r ; if(l > r) continue ;
      |                     ^~
foo.cc:134:47: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
  134 |                     if(s[i][j] != '_') ++ r ; if(l > r) continue ;
      |                                               ^~
foo.cc:93:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   93 |             scanf("%s",s[i] + 1) ;
      |             ~~~~~^~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 2ms 384.0 KiB
#2 Accepted 3ms 384.0 KiB
#3 Accepted 4ms 512.0 KiB
#4 Accepted 4ms 384.0 KiB
#5 Accepted 5ms 512.0 KiB
#6 Accepted 6ms 512.0 KiB
#7 Accepted 55ms 1016.0 KiB
#8 Accepted 24ms 896.0 KiB
#9 Accepted 35ms 896.0 KiB
#10 Accepted 16ms 896.0 KiB

信息

递交者
类型
递交
题目
P1994 墙上的句子
语言
C++
递交时间
2022-07-19 20:44:57
评测时间
2022-07-19 20:44:57
评测机
分数
100
总耗时
159ms
峰值内存
1016.0 KiB