Simplified code

This commit is contained in:
Eduard Urbach 2024-07-23 22:14:23 +02:00
parent 69245caf62
commit 26214366e3
No known key found for this signature in database
GPG key ID: C874F672B1AF20C0
30 changed files with 105 additions and 69 deletions

View file

@ -63,6 +63,10 @@ main() {
sys.exit(1)
}
if inc(x) == dec(x) {
sys.exit(1)
}
if x == 0 {
sys.exit(0)
}