UVA 414 - Machined Surfaces
摘要:Machined Surfaces An imaging device furnishes digital images of two machined surfaces that eventually will be assembled in contact with each other. The roughness of this final contact is to be estimated. A digital image is composed of the two characters, "X" and " " (space). Ther
阅读全文
posted @
2012-04-07 09:42
pony1993
阅读(1168)
推荐(0) 编辑
#define
摘要:1#include<stdio.h>2#include<string.h>3#include<math.h>4#include<stdlib.h>5#definetwo(x)((LL)1<<(x))6#defineinclude(a,b)(((a)&(b))==(b))7#defineMID((l+r)>>1)8#defineMAX(a,b)(a>b?a:b)9#defineMIN(a,b)(a>b?b:a)10#defineFOR(i,a,b)for(i=a;i<=b;i++)11#define
阅读全文
posted @
2012-04-02 09:11
pony1993
阅读(353)
推荐(0) 编辑