p2: optcode and readable fix.
This commit is contained in:
parent
97cef85bd6
commit
f22af0ffaf
1 changed files with 2 additions and 2 deletions
2
p2.c
2
p2.c
|
|
@ -19,7 +19,7 @@ int main() {
|
||||||
a = b;
|
a = b;
|
||||||
b = c;
|
b = c;
|
||||||
|
|
||||||
if((c % 2) == 0)
|
if (c & 1)
|
||||||
r += c;
|
r += c;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue