- 博客(3)
- 收藏
- 关注
原创 1392 凸包模板
#include #include #include using namespace std;#define N 101#define INF 0x7ffffffstruct T{ double x,y;}t[N],stack[N];double Mul(T p1,T p2,T p3)//叉积{ return (p2.x-p1.x)*(p3.y-p1.y)-(p3.x-p1.x)*(p2.y-p1.y);//3点逆时针旋转时为正}double dis(
2011-03-31 15:40:00 268
原创 全组合 全排列
全组合#include #include #include int main (){ int a[10]={1,2,3},n=3; int mark[10]={0}; int i,j; for (i=0;i
2011-03-24 16:16:00 477
原创 Operating System
1. What is the difference between trap and interrupt?A:An interrupt is a hardware-generated event, usually caused by an I/O device requesting service. The interrupt signal causes a change of °ow within the system: an interrupt service routine (ISR) saves t
2011-03-03 15:26:00 367
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人