The young Miloš Hrma, who speaks with misplaced pride of his family of misfits and malingerers, is engaged as a newly trained station guard in a small railway station during the Second World War and the German occupation of Czechoslovakia. He admires himself in his new uniform, and looks forward, like his prematurely-retired railwayman father, to avoiding real work. The sometimes pompous stationmaster is an enthusiastic pigeon-breeder with a kind wife, but is envious of the train dispatcher Hubička's success with women. Miloš holds an as-yet platonic love for the pretty, young conductor Máša. The experienced Hubička presses for details of their relationship and realizes that Miloš is still a virgin. The idyll of the railway station is periodically disturbed by the arrival of the councillor, Zednicek, a Nazi collaborator, who spouts propaganda at the staff without success. At her initiative, Máša spends the night with Miloš, but in his youthful excitability he ejaculates prematurely before achieving penetration and then is unable to perform sexually; and the next day, despairing, he attempts suicide. He is saved, and a young doctor explains to him that ejaculatio praecox is normal at Miloš's age. The doctor recommends Miloš to "think of something else" (at which point Miloš volunteers an interest in football), and to seek the assistance of an experienced woman. During the nightshift, Hubička flirts with the young telegraphist, Zdenička, and imprints her thighs and buttocks with the office's rubber stamps. Her mother sees the stamps and complains to Hubička's superiors, and the ensuing scandal helps to frustrate the stationmaster's ambition of being promoted to inspector.
The Germans and their collaborators are on edge, since their trains are being attacked by the partisans. A glamorous Resistance agent (a circus artist in peacetime), code-named Viktoria Freie, delivers a time bomb to Hubička for use in blowing up a large ammunition train. At Hubička's request, the "experienced" Viktoria also helps Miloš to resolve his sexual problem. The next day, at the crucial moment when the ammunition train is approaching, Hubička is caught up in a farcical disciplinary hearing, overseen by Zednicek, over his rubber stamping of Zdenička's backside. In Hubička's place, Miloš, liberated by his experience with Viktoria from his former passivity, takes the time bomb and drops it from a semaphore gantry, that extends transversely above the tracks, onto the train. A machine-gunner on the train, spotting Miloš, sprays him with bullets, and his body falls onto the train. With the Nazi collaborator Zednicek, winding up the disciplinary hearing, dismissing the Czech people as "nothing but laughing hyenas" (a phrase actually employed by the senior Nazi official Reinhard Heydrich, the implicit retort to his jibe comes in the form of a huge series of explosions that destroys the train. Now Hubička and the other railwaymen are indeed laughing - to express their joy at the blow to the Nazi occupiers - and it is left to a wistful Máša to pick up Miloš's uniform cap, hurled across the station by the power of the blast. (wp)