#define ENABLE_DEBUG 0 // Kana's kitchen {{{ #include #define ALL(v) std::begin(v),std::end(v) #define LOOP(k) for(lint ngtkana_is_a_genius=0; ngtkana_is_a_genius<(lint)k; ngtkana_is_a_genius++) using lint=long long; using ld=long double; using i32 = std::int_least32_t; using i64 = std::int_least64_t; using u32 = std::uint_least32_t; using u64 = std::uint_least64_t; using usize = std::size_t; template using numr=std::numeric_limits; struct input_t { template operator T() { T t; std::cin>>t; return t; } } input; #ifdef NGTKANA #include #else #define DEBUG(...)(void)0 #endif /*}}}*/ auto cmn=[](auto&x,auto y){if(x>y){x=y;return true;}return false;}; int main(){ std::cin.tie(nullptr); std::ios::sync_with_stdio(false); std::cout << std::setprecision(15) << std::fixed; usize n; i64 k; std::cin >> n >> k; i64 inf = numr::max(); std::vector a(n), b(n), time(n, inf); for (i64& x: a) std::cin >> x; for (i64& x: b) std::cin >> x; time.at(0) = 0; for (usize i=1; i