Indianapolis 500: The Simulation for the Commodore Amiga (Papyrus/Electronic Arts/1990) is a groundbreaking racing game and one of the best motorsport simulators of the 16-bit era.
1st on MS-DOS PC (1989), it's essentially the same game (although on A500 you'd turn off details, A1200 shown here enables it maxed). Game's downside is that it features only one oval track. Formula One Grand Prix a year later featuring the tracks from 1991 season, surpassed it, content-wise.
a Fenwick tree computes prefix sums in O(log n) using a single bit trick
n & -n isolates the lowest set bit
in two's complement -n flips the bits and adds 1
that one operation is enough to navigate the entire tree
updates move upward queries move downward and both rely on the same bit manipulation
@PopcornPost_ Bruce Willis points to Bradock because of the overall action-movie vibe.
Without Bruce, I'd guess Van Damme from Arnie and Stallone, since they're bodybuilders.
Lundgren is possible, but Van Damme was more famous.
Bruce is what points me to Bradock.
@Ramon4lan Isso é a cara do Brasil...
A democracia funciona muito bem no Brasil, o povo é muito bem representado. O problema da democracia é justamente a representação. Cretinos colocam cretinos no poder. Cretinos dão audiência pra cretinos...