记录详情

Wrong Answer

/in/foo.cc: In function 'int main()':
/in/foo.cc:9:12: warning: variable 'x1' set but not used [-Wunused-but-set-variable]
  int x,y,z,x1;
            ^~
/in/foo.cc: In function 'int da(int, int)':
/in/foo.cc:19:6: warning: unused variable 'z' [-Wunused-variable]
  int z;
      ^
/in/foo.cc:18:14: warning: 'c' is used uninitialized in this function [-Wuninitialized]
  int x1=abs(c-d);
             ~^~
/in/foo.cc:18:14: warning: 'd' is used uninitialized in this function [-Wuninitialized]
/in/foo.cc:21:14: warning: 'b' is used uninitialized in this function [-Wuninitialized]
  int x2=abs(b-c);
             ~^~
# 状态 耗时 内存占用
#1 Accepted 1ms 220.0 KiB
#2 Wrong Answer 1ms 228.0 KiB
#3 Wrong Answer 1ms 224.0 KiB
#4 Wrong Answer 1ms 224.0 KiB
#5 Wrong Answer 1ms 228.0 KiB

信息

递交者
类型
递交
题目
P1213 C7 差距最大的相邻数
比赛
2020苏青奥赛集训营(2021-2-4实验初中选拔赛)
语言
C++
递交时间
2021-02-04 13:54:25
评测时间
2021-02-04 13:54:25
评测机
分数
20
总耗时
7ms
峰值内存
228.0 KiB