#include <stdio.h>
#include <stdlib.h>
int main(int argc, char** argv) {
int middle, spaceCount, starCount;
int num = 5;
middle = (num-1) / 2;
for (int i = 0; i < num; i++){
spaceCount
= abs(middle
- i
); starCount
= num
- 2*abs(middle
- i
);
for(int c = 0; c < spaceCount; c++)
for(int c = 0; c < starCount; c++)
}
return 0;
}
I2luY2x1ZGUgPHN0ZGlvLmg+CiNpbmNsdWRlIDxzdGRsaWIuaD4KCmludCBtYWluKGludCBhcmdjLCBjaGFyKiogYXJndikgewoKICAgIGludCBtaWRkbGUsIHNwYWNlQ291bnQsIHN0YXJDb3VudDsKCiAgICBpbnQgbnVtID0gNTsgCgogICAgbWlkZGxlID0gKG51bS0xKSAvIDI7CgogICAgZm9yIChpbnQgaSA9IDA7IGkgPCBudW07IGkrKyl7CgogICAgICAgIHNwYWNlQ291bnQgPSBhYnMobWlkZGxlIC0gaSk7CiAgICAgICAgc3RhckNvdW50ID0gbnVtIC0gMiphYnMobWlkZGxlIC0gaSk7CgogICAgICAgIGZvcihpbnQgYyA9IDA7IGMgPCBzcGFjZUNvdW50OyBjKyspCiAgICAgICAgICAgIHByaW50ZigiICIpOwoKICAgICAgICBmb3IoaW50IGMgPSAwOyBjIDwgc3RhckNvdW50OyBjKyspCiAgICAgICAgICAgIHByaW50ZigiKiIpOwogICAgICAgICAgICAKICAgICAgICBwcmludGYoIlxuIik7CiAgICB9CgogICAgcmV0dXJuIDA7Cn0=