/ Vijos /

记录详情

Wrong Answer

/in/foo.cc: In function 'int main()':
/in/foo.cc:30:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for(int i=0;i<node[1].v.size();i++) {
              ~^~~~~~~~~~~~~~~~~
/in/foo.cc:32:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   for(int j=i+1;j<node[1].v.size();j++) {
                 ~^~~~~~~~~~~~~~~~~
/in/foo.cc:37:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
   if(i==node[1].h) break; flag=true;
   ^~
/in/foo.cc:37:27: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
   if(i==node[1].h) break; flag=true;
                           ^~~~
/in/foo.cc:41:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
    for(int k=1;k<=node[j].v.size();k++) {
                ~^~~~~~~~~~~~~~~~~~
# 状态 耗时 内存占用
#1 Wrong Answer 2ms 312.0 KiB
#2 Accepted 2ms 356.0 KiB
#3 Wrong Answer 1ms 364.0 KiB
#4 Wrong Answer 1ms 400.0 KiB
#5 Wrong Answer 1ms 388.0 KiB
#6 Accepted 5ms 468.0 KiB
#7 Wrong Answer 1ms 352.0 KiB
#8 Accepted 2ms 388.0 KiB
#9 Accepted 94ms 644.0 KiB
#10 Accepted 115ms 644.0 KiB

信息

递交者
类型
递交
题目
P1059 积木城堡
语言
C++
递交时间
2022-01-19 19:57:01
评测时间
2022-01-19 19:57:01
评测机
分数
50
总耗时
230ms
峰值内存
644.0 KiB