#include <stdio.h>
#define repeta_secventa do
#define PanaCand(COND) while(!(COND))
#define este ==
#define tipareste printf
#define atribuie =
#define zero 0
//Algoritmul lui Euclid cu macrouri.
int main(int argc, char const *argv[])
{
int a,
b,
restul;
a atribuie 10;
b atribuie 32;
repeta_secventa {
restul atribuie a % b;
a atribuie b;
b atribuie restul;
} PanaCand (restul este zero);
tipareste("%d\n", a);
return 0;
}
I2luY2x1ZGUgPHN0ZGlvLmg+CiNkZWZpbmUgcmVwZXRhX3NlY3ZlbnRhIGRvCiNkZWZpbmUgUGFuYUNhbmQoQ09ORCkgd2hpbGUoIShDT05EKSkKI2RlZmluZSBlc3RlID09CiNkZWZpbmUgdGlwYXJlc3RlIHByaW50ZgojZGVmaW5lIGF0cmlidWllID0KI2RlZmluZSB6ZXJvIDAKCi8vQWxnb3JpdG11bCBsdWkgRXVjbGlkIGN1IG1hY3JvdXJpLgppbnQgbWFpbihpbnQgYXJnYywgY2hhciBjb25zdCAqYXJndltdKQp7CglpbnQgYSwgCgkgICAgYiwgCgkgICAgcmVzdHVsOwoJICAgIAoJYSBhdHJpYnVpZSAxMDsKCWIgYXRyaWJ1aWUgMzI7ICAgIAoKICAgIHJlcGV0YV9zZWN2ZW50YSB7CgogICAgICAgICAgIHJlc3R1bCBhdHJpYnVpZSBhICUgYjsKCiAgICAgICAgICAgYSBhdHJpYnVpZSBiOwoKICAgICAgICAgICBiIGF0cmlidWllIHJlc3R1bDsgICAgICAgICAgIAogICAgICAgICAgIAogICAgfSBQYW5hQ2FuZCAocmVzdHVsIGVzdGUgemVybyk7CgogICAgdGlwYXJlc3RlKCIlZFxuIiwgYSk7CgoJcmV0dXJuIDA7Cn0=