Cod sursa(job #88831)
Utilizator | Data | 4 octombrie 2007 14:36:16 | |
---|---|---|---|
Problema | Cutii | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.3 kb |
#include <cstdio>
#define maxn 1000000
struct nod{
unsigned int a:12;
unsigned int b:20;
unsigned int c:11;
unsigned int d:11;
nod(){};
};
nod a[maxn];
int main()
{
printf("%d\n", sizeof(a));
for(int i=0;i<maxn;++i) a[i].a=23232, a[i].b=500000, a[i].c=121, a[i].d=121;
return 0;
}