You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
417 B
31 lines
417 B
6 years ago
|
/*
|
||
|
* Copyright (c) 2018-present, Facebook, Inc.
|
||
|
*
|
||
|
* This source code is licensed under the MIT license found in the
|
||
|
* LICENSE file in the root directory of this source tree.
|
||
|
*/
|
||
|
|
||
|
extern void print_int(int);
|
||
|
|
||
|
int jjb1() {
|
||
|
int x, y;
|
||
|
|
||
|
x++;
|
||
|
if (x / 2) {
|
||
|
L0:
|
||
|
if (x <= 0)
|
||
|
goto L3;
|
||
|
x--;
|
||
|
print_int(x);
|
||
|
goto L1;
|
||
|
} else {
|
||
|
L1:
|
||
|
y++;
|
||
|
print_int(y);
|
||
|
goto L0;
|
||
|
}
|
||
|
L3:
|
||
|
|
||
|
return 0;
|
||
|
}
|