W6 2047 then FR 3180 at Barcelona
Krakow → Barcelona → Rome
Timetable, Barcelona time
08:25W6 2047 from Krakow at the gate
06:00FR 3180 to Rome leaves the gate
21 h 35 apart on the timetable, overnight
FR 3180 leaves 21 h 35 after W6 2047 arrives on the timetable: more than half a day, so not a connection we count.