/ 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 17ms 42.535 MiB
#2 Runtime Error 13ms 31.953 MiB
#3 Accepted 13ms 29.922 MiB
#4 Runtime Error 16ms 41.027 MiB
#5 Runtime Error 17ms 41.922 MiB
#6 Runtime Error 16ms 37.309 MiB
#7 Runtime Error 16ms 39.297 MiB
#8 Runtime Error 15ms 36.285 MiB
#9 Runtime Error 16ms 39.176 MiB
#10 Runtime Error 20ms 49.547 MiB

信息

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