1、翻译
(1)preferred org(if any)
(2)a maximal acyclic graph
2、将20*20的方块放在100*100的棋盘上,求两个方块不会相交的概率
3、对于32位机器,定义如下三个struct:
struct A{
A();
~A();
int m1;
int m2;
}
struct B{
B();
~B();
int m1;
char c1;
static char c2;
}
struct C{
C();
virtual ~C();
int m1;
short s1;
}
试求sizeof(A)、sizeof(B)、sizeof(C)
转载于:https://blog.51cto.com/wwssttt/540846