/ Vijos /

记录详情

Wrong Answer

foo.cc: In function 'void cre()':
foo.cc:24:15: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else]
             if(ht[j].pa==0)
               ^
foo.cc:23:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
         for(int j=i-1;j>=1;j--)
         ^~~
foo.cc:37:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
             ht[p1].pa=i;
             ^~
foo.cc: In function 'int main()':
foo.cc:104:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for(int i=0;i<chi.length();i++)
                 ~^~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 0, expect 26. 2ms 340.0 KiB

信息

递交者
类型
递交
题目
P1079 中青局
语言
C++
递交时间
2021-07-30 14:53:59
评测时间
2021-07-30 14:53:59
评测机
分数
0
总耗时
2ms
峰值内存
340.0 KiB