#include <stdio.h>
int main(void) {
#define TRIANGLE_PERIMETER(a,b,c) (a + b + c)
#define SQUARE_PERIMETER(a) (a * 4)
#define RECTANGLE_PERIMETER(a,b) ((a + b) * 2)
#define QUADRILATERAL_PERIMETER(a,b,c,d) (a + b + c + d)
#define CIRCLE_PERIMETER(a) (2 * 3.14 * a)
#define SECTOR_PERIMETER(a,b) (a * (b + 2))
int a = 5, b = 3, c = 15, d = 2, area;
area = SECTOR_PERIMETER(a,b);
" is: %d",
area);
return 0;
}
I2luY2x1ZGUgPHN0ZGlvLmg+CgppbnQgbWFpbih2b2lkKSB7CgkjZGVmaW5lIFRSSUFOR0xFX1BFUklNRVRFUihhLGIsYykgKGEgKyBiICsgYykKCSNkZWZpbmUgU1FVQVJFX1BFUklNRVRFUihhKSAoYSAqIDQpCgkjZGVmaW5lIFJFQ1RBTkdMRV9QRVJJTUVURVIoYSxiKSAoKGEgKyBiKSAqIDIpCgkjZGVmaW5lIFFVQURSSUxBVEVSQUxfUEVSSU1FVEVSKGEsYixjLGQpIChhICsgYiArIGMgKyBkKQoJI2RlZmluZSBDSVJDTEVfUEVSSU1FVEVSKGEpICgyICogMy4xNCAqIGEpCgkjZGVmaW5lIFNFQ1RPUl9QRVJJTUVURVIoYSxiKSAoYSAqIChiICsgMikpCglpbnQgYSA9IDUsIGIgPSAzLCBjID0gMTUsIGQgPSAyLCBhcmVhOwoJYXJlYSA9IFNFQ1RPUl9QRVJJTUVURVIoYSxiKTsKCXByaW50ZiAoIkFyZWEgb2YgcmVjdGFuZ2xlIgogICAgICAgICAgICIgaXM6ICVkIiwKICAgICAgICAgICBhcmVhKTsKCXJldHVybiAwOwoJCn0K