/ 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 3ms 420.0 KiB
#2 Accepted 3ms 440.0 KiB
#3 Accepted 6ms 528.0 KiB
#4 Accepted 7ms 560.0 KiB
#5 Accepted 6ms 556.0 KiB
#6 Accepted 8ms 556.0 KiB
#7 Accepted 71ms 1.0 MiB
#8 Accepted 31ms 1.004 MiB
#9 Accepted 39ms 1.004 MiB
#10 Accepted 22ms 988.0 KiB

信息

递交者
类型
递交
题目
P1994 墙上的句子
语言
C++
递交时间
2021-08-02 10:34:49
评测时间
2021-08-02 10:34:49
评测机
分数
100
总耗时
200ms
峰值内存
1.004 MiB