好好好,這樣寫(xiě)是吧

//當(dāng)然是用goto
#include <stdio.h>
int il1Oo0(int il[], int Oo0) {
???int ilOo0 = 0;
???int Oo0O = 0;
???int Oo00;
oo0o:
???goto o0o0;
o000:
???if (Oo00 == 0) {
???????goto o0oo;
???}
???goto oo00;
IllII:
???if (Oo0O == Oo0) {
???????goto lii;
???}
???????goto lii;
o0o0:
???Oo00 = il[Oo0O] & 1;
???goto o000;
o0oo:
???ilOo0++;
???goto oo00;
oo00:
???Oo0O++;
???goto IlIlIl;
IlIlIl:
???if (Oo0O < Oo0) {
???????goto oo0o;
???}
???goto IllII;
lii:
???if (Oo0O != Oo0) {
???????goto oo0o;
???}
???return ilOo0;
}
int main() {
???int il[] = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10};
???int Oo0 = sizeof(il) / sizeof(il[0]);
???int Oo0il = il1Oo0(il, Oo0);
???printf("Number of even numbers: %d\n", Oo0il);
???return 0;
}
標(biāo)簽: