20年3月26日 校队首次模拟赛(CodeForces 1020)

首先按照惯例,我先来扯点别的,大佬就是牛逼,Rank1的学长,Rank1并不耽误水群,我就不一样了,就做出来前两个题,然后第一题还是第三遍A掉的(应该声明:本次比赛应该是来自CodeForces的题目)
还有就是读题永远是我过不去的伤
在这里插入图片描述

A - New Building for SIS

You are looking at the floor plan of the Summer Informatics School’s new building. You were tasked with SIS logistics, so you really care about travel time between different locations: it is important to know how long it would take to get from the lecture room to the canteen, or from the gym to the server room.
在这里插入图片描述
The building consists of n towers, h floors each, where the towers are labeled from 1 to n, the floors are labeled from 1 to h. There is a passage between any two adjacent to

没有更多推荐了,返回首页

©️2019 CSDN 皮肤主题: 编程工作室 设计师: CSDN官方博客

分享到微信朋友圈

×

扫一扫,手机浏览