20 lines
245 B
Text
20 lines
245 B
Text
int compute(int a, int d) {
|
|
int b;
|
|
int c;
|
|
b = a;
|
|
while (c > 0) {
|
|
b = b + a * 4;
|
|
}
|
|
return b;
|
|
}
|
|
|
|
|
|
void main(void) {
|
|
int a;
|
|
if (a == 3) {
|
|
print(a);
|
|
} else {
|
|
int b = compute(a, 2 * a);
|
|
print(b);
|
|
}
|
|
}
|