17 lines
264 B
C
17 lines
264 B
C
int main() {
|
|
int x = 0;
|
|
int y = 1;
|
|
while (x <= y) {
|
|
if (x > y) {
|
|
y += 1;
|
|
}
|
|
if (x == y) {
|
|
x += y;
|
|
}
|
|
if (x < y) {
|
|
x += 1;
|
|
} else {
|
|
return 0;
|
|
}
|
|
}
|
|
} |