/ Vijos /

记录详情

Wrong Answer

/in/foo.c: In function 'main':
/in/foo.c:7:45: warning: 'origy' may be used uninitialized in this function [-Wmaybe-uninitialized]
     return sqrt((ax - bx) * (ax - bx) + (by - ay) * (by - ay));
                                         ~~~~^~~~~
/in/foo.c:15:41: note: 'origy' was declared here
     double prex = -1, prey = -1, origx, origy;
                                         ^~~~~
/in/foo.c:7:21: warning: 'origx' may be used uninitialized in this function [-Wmaybe-uninitialized]
     return sqrt((ax - bx) * (ax - bx) + (by - ay) * (by - ay));
                 ~~~~^~~~~
/in/foo.c:15:34: note: 'origx' was declared here
     double prex = -1, prey = -1, origx, origy;
                                  ^~~~~
# 状态 耗时 内存占用
#1 Accepted 0ms 224.0 KiB
#2 Accepted 0ms 228.0 KiB
#3 Accepted 0ms 128.0 KiB
#4 Wrong Answer 0ms 228.0 KiB
#5 Wrong Answer 0ms 224.0 KiB
#6 Wrong Answer 0ms 224.0 KiB

信息

递交者
类型
递交
题目
P1007 绕钉子的长绳子
语言
C
递交时间
2019-07-25 16:27:19
评测时间
2019-07-25 16:27:19
评测机
分数
30
总耗时
4ms
峰值内存
228.0 KiB