/ 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 6ms 384.0 KiB
#2 Accepted 3ms 512.0 KiB
#3 Accepted 11ms 512.0 KiB
#4 Accepted 5ms 512.0 KiB
#5 Accepted 13ms 512.0 KiB
#6 Accepted 14ms 512.0 KiB
#7 Accepted 89ms 1.117 MiB
#8 Accepted 54ms 896.0 KiB
#9 Accepted 55ms 896.0 KiB
#10 Accepted 18ms 896.0 KiB

信息

递交者
类型
递交
题目
P1994 墙上的句子
语言
C++
递交时间
2022-02-27 19:25:19
评测时间
2022-02-27 19:25:19
评测机
分数
100
总耗时
273ms
峰值内存
1.117 MiB