Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:8:9: warning: unused variable 'm' [-Wunused-variable]
  int n, m, gap=0, x, y;
         ^
/in/foo.cc:20:22: warning: 'y' may be used uninitialized in this function [-Wmaybe-uninitialized]
  cout<<a[x]<<" "<<a[y];
                      ^
/in/foo.cc:20:14: warning: 'x' may be used uninitialized in this function [-Wmaybe-uninitialized]
  cout<<a[x]<<" "<<a[y];
              ^~~
# 状态 耗时 内存占用
#1 Accepted 1ms 352.0 KiB
#2 Accepted 1ms 360.0 KiB
#3 Accepted 1ms 380.0 KiB
#4 Accepted 1ms 376.0 KiB
#5 Accepted 1ms 376.0 KiB

信息

递交者
类型
递交
题目
P1492 C7 差距最大的相邻数
语言
C++
递交时间
2022-05-30 10:56:28
评测时间
2022-05-30 10:56:28
评测机
分数
100
总耗时
6ms
峰值内存
380.0 KiB