Day 1 T 1: #include<iostream> #include<cstdio> #include<cstring> using namespace std; long long f[101]; int main() { freopen("hungry.in","r",stdin); freopen(…
真 · Noip模拟赛 Day1 题目概况 试题名称 M又饿了 seq interval 英文题目与子目录名 hungry seq interval 可执行文件名 hungry seq interval 输入文件名 hungry.in seq.in interval.in 输出文件名 hungry.out seq.out interval.out …
Description Alice 和Bob现在要乘飞机旅行,他们选择了一家相对便宜的航空公司。该航空公司一共在n个城市设有业务,设这些城市分别标记为0到n-1,一共有m种航线,每 种航线连接两个城市,并且航线有一定的价格。Alice和Bob现在要从一个城市沿着航线到达另一个城市,途中可以进行转机。航空公司对他们这次旅行也推 出优惠,他们可以免费在…