๋ฐ์ํ 58291 BOJ 5829 ) Luxury River Cruise 5829๋ฒ: Luxury River Cruise Farmer John is taking Bessie and the cows on a cruise! They are sailing on a network of rivers with N ports (1 >K; river=vector(N+2,vector (2)); int L,R; for(int i=1;i>L>>R; river[i][0]=L; river[i][1]=R; } char temp; for(int i=0;i>temp; if(temp=='L')seq.push_back(0);// L else seq.push_back(1);// R } cout 2020. 9. 22. ์ด์ 1 ๋ค์ ๋ฐ์ํ