摘要: //一本通矢量的矢量积练习1 // -→ -→ -→ -→ //题意:给定两个有公共端点的矢量p0p1 和 p0p2,判断p0p1是否在p0p2的顺时针方向 //p1*p2=det[x1 x2] // [y1 y2] // =x1y2-x2y1 // ... 阅读全文
posted @ 2018-05-02 21:56 whymhe 阅读(1261) 评论(0) 推荐(0) 编辑
摘要: Description Calculate the number of toys that land in each bin of a partitioned toy box. Mom and dad have a problem - their child John never puts his 阅读全文
posted @ 2018-05-02 21:55 whymhe 阅读(147) 评论(0) 推荐(0) 编辑
摘要: Area in Triangle Time Limit: 1000MS Memory Limit: 30000K Total Submissions: 1674 Accepted: 821 Description Given a triangle field and a rope of a cert 阅读全文
posted @ 2018-05-02 15:03 whymhe 阅读(194) 评论(0) 推荐(0) 编辑
摘要: Give you two circles and a rectangle, your task is to judge wheather the two circles can be put into the rectangle with no part of circles outside the 阅读全文
posted @ 2018-05-02 08:51 whymhe 阅读(286) 评论(0) 推荐(0) 编辑