/ XMU_ACM /

记录详情

Runtime Error

/in/foo.c: In function 'main':
/in/foo.c:14:17: warning: implicit declaration of function 'intersections' [-Wimplicit-function-declaration]
         return (intersections(a,b,c,d));
                 ^~~~~~~~~~~~~
/in/foo.c: In function 'intersections':
/in/foo.c:20:8: warning: implicit declaration of function 'direction' [-Wimplicit-function-declaration]
     d1=direction(c,d,a);
        ^~~~~~~~~
/in/foo.c:26:20: warning: implicit declaration of function 'onSegment' [-Wimplicit-function-declaration]
     else if(d1==0&&onSegment(c,d,a))
                    ^~~~~~~~~
/in/foo.c: In function 'onSegment':
/in/foo.c:62:12: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
     if(minx<=c.x<=maxx&&miny<=c.y<=maxy)
        ~~~~^~~~~
/in/foo.c:62:29: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
     if(minx<=c.x<=maxx&&miny<=c.y<=maxy)
                         ~~~~^~~~~
# 状态 耗时 内存占用
#1 Runtime Error 1ms 256.0 KiB

信息

递交者
类型
递交
题目
线段交点个数
语言
C
递交时间
2018-05-24 18:33:37
评测时间
2018-05-24 18:33:37
评测机
分数
0
总耗时
1ms
峰值内存
256.0 KiB