摘要: C. Ayoub and Lost Array time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output C. Ayoub and Lost 阅读全文
posted @ 2019-02-09 11:18 EchoZQN 阅读(126) 评论(0) 推荐(0) 编辑
摘要: 题目 题目大意:这个题目就是大小不超过9*9的迷宫,给你起点终点和起点的方向,让你进行移动移动特别之处是不一定上下左右都可以,只有根据方向确定可以走的方向。思路:需要写一个读入函数,这个需要读入起点,终点,方向(简单),还有就是接下来几行的不同位置可以转的方向,可以写几个函数,根据函数来判断方向,最 阅读全文
posted @ 2019-02-08 22:16 EchoZQN 阅读(95) 评论(0) 推荐(0) 编辑
摘要: B. Tape time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output B. Tape time limit per test 1 sec 阅读全文
posted @ 2019-02-08 21:58 EchoZQN 阅读(231) 评论(0) 推荐(0) 编辑
摘要: The Robot Moving Institute is using a robot in their local store to transport different items. Of course the robot should spend only the minimum time 阅读全文
posted @ 2019-02-07 15:10 EchoZQN 阅读(155) 评论(0) 推荐(0) 编辑
摘要: What are you doing at the end of the world? Are you busy? Will you save us? What are you doing at the end of the world? Are you busy? Will you save us 阅读全文
posted @ 2019-02-07 12:35 EchoZQN 阅读(113) 评论(0) 推荐(0) 编辑
摘要: Some company is going to hold a fair in Byteland. There are nn towns in Byteland and mm two-way roads between towns. Of course, you can reach any town 阅读全文
posted @ 2019-02-04 12:33 EchoZQN 阅读(189) 评论(0) 推荐(0) 编辑
摘要: A tournament is a directed graph without self-loops in which every pair of vertexes is connected by exactly one directed edge. That is, for any two ve 阅读全文
posted @ 2019-02-04 10:17 EchoZQN 阅读(131) 评论(0) 推荐(0) 编辑
摘要: There is a rectangular grid of size n×mn×m . Each cell has a number written on it; the number on the cell (i,ji,j ) is ai,jai,j . Your task is to calc 阅读全文
posted @ 2019-02-04 09:41 EchoZQN 阅读(146) 评论(0) 推荐(0) 编辑
摘要: #include <stdio.h> #include <stdlib.h> #include <string.h> #include <iostream> using namespace std; char s[10][10]; int panduan(int row,int cew) { for 阅读全文
posted @ 2019-01-30 14:36 EchoZQN 阅读(218) 评论(0) 推荐(0) 编辑
摘要: Absent-minded Masha got set of n cubes for her birthday. At each of 6 faces of each cube, there is exactly one digit from 0 to 9. Masha became interes 阅读全文
posted @ 2019-01-30 14:30 EchoZQN 阅读(192) 评论(0) 推荐(0) 编辑