/ Vijos /

记录详情

Runtime Error

/in/foo.cc: In function 'u Swap0(int, int)':
/in/foo.cc:32:17: warning: 't2' may be used uninitialized in this function [-Wmaybe-uninitialized]
  return (u){s+t2*shi[p]+t1*shi[1],p};
               ~~^~~~~~~
/in/foo.cc:32:27: warning: 't1' may be used uninitialized in this function [-Wmaybe-uninitialized]
  return (u){s+t2*shi[p]+t1*shi[1],p};
                         ~~^~~~~~~
/in/foo.cc: In function 'u Swap1(int, int)':
/in/foo.cc:50:17: warning: 't2' may be used uninitialized in this function [-Wmaybe-uninitialized]
  return (u){s+t2*shi[p]+t1*shi[6],p};
               ~~^~~~~~~
/in/foo.cc:50:27: warning: 't1' may be used uninitialized in this function [-Wmaybe-uninitialized]
  return (u){s+t2*shi[p]+t1*shi[6],p};
                         ~~^~~~~~~
/in/foo.cc: In function 'u Up(int, int)':
/in/foo.cc:65:5: warning: 'q' may be used uninitialized in this function [-Wmaybe-uninitialized]
  q++;
     ^
/in/foo.cc: In function 'u Down(int, int)':
/in/foo.cc:82:5: warning: 'q' may be used uninitialized in this function [-Wmaybe-uninitialized]
  q--;
     ^
/in/foo.cc: In function 'void bfs()':
/in/foo.cc:82:5: warning: 'q' may be used uninitialized in this function [-Wmaybe-uninitialized]
  q--;
     ^
/in/foo.cc:71:20: note: 'q' was declared here
  int pp=6,aa=a,s=0,q;
                    ^
/in/foo.cc:65:5: warning: 'q' may be used uninitialized in this function [-Wmaybe-uninitialized]
  q++;
     ^
/in/foo.cc:54:20: note: 'q' was declared here
  int pp=6,aa=a,s=0,q;
                    ^
# 状态 耗时 内存占用
#1 Runtime Error 21ms 53.422 MiB
#2 Runtime Error 18ms 44.598 MiB
#3 Accepted 18ms 42.172 MiB
#4 Runtime Error 21ms 53.188 MiB
#5 Runtime Error 21ms 53.801 MiB
#6 Runtime Error 20ms 47.051 MiB
#7 Runtime Error 20ms 50.75 MiB
#8 Runtime Error 20ms 47.422 MiB
#9 Runtime Error 19ms 52.227 MiB
#10 Runtime Error 24ms 63.176 MiB

信息

递交者
类型
递交
题目
P1673 聪明的打字员
语言
C++
递交时间
2020-03-20 00:54:46
评测时间
2020-03-20 00:54:46
评测机
分数
10
总耗时
206ms
峰值内存
63.176 MiB