Advertisement
LazyShpee

Sapin

Dec 10th, 2016
174
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.82 KB | None | 0 0
  1. #include <unistd.h>
  2. #include <stdlib.h>
  3.  
  4. void    ___(int __)
  5. {
  6.   int   _[5];
  7.  
  8.   _[3] = (_[4] = (_[0] = (_[2] = 7) - 6) - 1) - 1;
  9.   while (++_[0] - 1 < __)
  10.     _[2] = _[2] + (2 * (_[0] + 2)) - ((5 * _[0]) / 10 * 2);
  11.   while ((++_[4] <= __ && !(_[0] = 0)) || (_[0] = -1) + 1)
  12.     {
  13.       while (++_[0] <= _[4] + 3 && (_[3] += 2, _[1] = -1, 1))
  14.         while (++_[1] < (_[2] - _[3]) / 2 + _[3] || (write(1, "\n", 1) * 0))
  15.           write(1, _[1] < (_[2] - _[3]) / 2 ? " " : "*", 1);
  16.       _[3] = _[3] - (5 * (_[4] - 1) / 10) * 2 - 4;
  17.     }
  18.   _[3] = __ / 2 * 2 + 1;
  19.   while (++_[0] < __ && (_[1] = -1))
  20.     while (++_[1] < (_[2] - _[3]) / 2 + _[3] || (write(1, "\n", 1) * 0))
  21.       write(1, _[1] < (_[2] - _[3]) / 2 ? " " : "|", 1);
  22. }
  23.  
  24. int main(int __, char **_) {
  25.   return (!(__ - 2) ? (___(atoi(_[1])), 0) : 1);
  26. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement