A couple of swipes with a block plane, which is an extremely apartment-friendly tool - low cost, quiet, makes shavings, not dust.
For not-very-extensive work such as this (or even more extensive work) plenty of apartment-dwellers get by with an appropriately protected coffee-table, desk, or kitchen-counter as a working surface. For just planing off the edge of a board, all you really need is a stop to hold the board in a way that you can plane all the way to the end. That "stop" could be the other boards set against a wall or across a doorway opening.
Edit, now that you have clarified the issue to be length rather than width:
A block plane is still good, but a low-angle block plane is better for end-grain, you'll need to cross the "sharpness - no, really, sharper than that!" part of your education sooner rather than later. Sharp planes work very well. Dull planes don't work at all.
Study up on "scary sharp" and buy some sandpaper and either a stone threshold or a scrap of plate glass; Unless a stone countertop or similar hard flat surface is already available...
The side you are planing towards should be supported very close to the end you are trimming off (so it does not splinter as you exit the wood.)