记录详情

Wrong Answer

/in/foo.c: In function 'main':
/in/foo.c:22:69: warning: 'temp[1]' may be used uninitialized in this function [-Wmaybe-uninitialized]
  lenth += 2 * PI * r + sqrt(pow((arr[count % 2][0] - temp[0]), 2) + pow(arr[count % 2][1] - temp[1], 2));;
                                                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/in/foo.c:22:29: warning: 'temp[0]' may be used uninitialized in this function [-Wmaybe-uninitialized]
  lenth += 2 * PI * r + sqrt(pow((arr[count % 2][0] - temp[0]), 2) + pow(arr[count % 2][1] - temp[1], 2));;
                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 0ms 196.0 KiB
#2 Accepted 0ms 204.0 KiB
#3 Accepted 0ms 200.0 KiB
#4 Wrong Answer 0ms 208.0 KiB
#5 Wrong Answer 0ms 200.0 KiB
#6 Wrong Answer 0ms 204.0 KiB

信息

递交者
类型
递交
题目
P1119 绕钉子的长绳子
语言
C
递交时间
2020-02-03 22:48:19
评测时间
2020-02-03 22:48:19
评测机
分数
30
总耗时
4ms
峰值内存
208.0 KiB