33 lines
512 B
C
33 lines
512 B
C
|
#include <stdio.h>
|
||
|
int a;
|
||
|
int b[1000000000000];
|
||
|
|
||
|
int x;
|
||
|
|
||
|
int main() {
|
||
|
b[3] = 12;
|
||
|
a = b[3];
|
||
|
printf("%d\r\n",a);
|
||
|
printf("%d\r\n",b[5]);
|
||
|
|
||
|
x = 0;
|
||
|
|
||
|
while(x < 500) {
|
||
|
b[x] = x + b[x - 1];
|
||
|
x = x + 1;
|
||
|
int tmp1;
|
||
|
tmp1 = b[x] - 2;
|
||
|
while(tmp1 < 30) {
|
||
|
int lol;
|
||
|
lol = 0;
|
||
|
while(lol < tmp1) {
|
||
|
lol = lol + 1;
|
||
|
printf("%d\r\n",lol);
|
||
|
}
|
||
|
tmp1 = tmp1 + 1;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
|
||
|
return(0);
|
||
|
}
|