/ Vijos /

记录详情

Accepted

foo.cc: In function 'int main()':
foo.cc:102:21: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
                     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'
                     if(s[i][j] != '_') ++ r ; if(l > r) continue ;
                                               ^~
foo.cc:134:21: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
                     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'
                     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]
             scanf("%s",s[i] + 1) ;
             ~~~~~^~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 2ms 420.0 KiB
#2 Accepted 3ms 424.0 KiB
#3 Accepted 4ms 512.0 KiB
#4 Accepted 5ms 452.0 KiB
#5 Accepted 5ms 544.0 KiB
#6 Accepted 6ms 556.0 KiB
#7 Accepted 61ms 1.008 MiB
#8 Accepted 26ms 1.0 MiB
#9 Accepted 33ms 1.008 MiB
#10 Accepted 18ms 992.0 KiB

信息

递交者
类型
递交
题目
P1994 墙上的句子
语言
C++
递交时间
2021-07-23 09:02:41
评测时间
2021-07-23 09:02:41
评测机
分数
100
总耗时
167ms
峰值内存
1.008 MiB