题目链接:http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemId=5748 题意:给定一个n x m的图,每个点初始有标记0或1。0代表只能上下走,1代表只能左右走。每秒状态翻转(0变1,1变0)。给定一个人的初始位置和其要走到的最终位置 ...
分类:
其他好文 时间:
2018-04-08 22:34:07
阅读次数:
302
1 #include <bits/stdc++.h> 2 using namespace std; 3 #define ll long long 4 int main() 5 { 6 ll i,j,k,m,n,x; 7 ll sum; 8 ll a,b; 9 int flag=1; 10 cin>> ...
分类:
其他好文 时间:
2018-04-04 21:06:04
阅读次数:
186
1 check if page load time is within acceptable range2 check page load on slow connections 3 check response time for any action under light, normal, mo ...
分类:
移动开发 时间:
2018-03-29 16:45:35
阅读次数:
226
song = ''' just colse your eyes,the sun is going down you‘ll be all right,no one can hurt you now come morning light ,you and i ’ll be safe and sound ...
分类:
其他好文 时间:
2018-03-26 12:35:17
阅读次数:
159
Light OJ 1002 - Country Roads 1.Dijkstra 1 #include <bits/stdc++.h> 2 using namespace std; 3 4 const int N=555; 5 int d[N]; 6 bool vis[N]; 7 const int ...
分类:
其他好文 时间:
2018-03-19 22:40:43
阅读次数:
213
编译或运行时可能会出现错误: Error:Error retrieving parent for item: No resource found that matches the given name “Theme.AppCompat.Light” 这个问题我在刚开始写“HelloWorld”时就遇 ...
分类:
移动开发 时间:
2018-03-10 21:55:11
阅读次数:
205
一、获取钱包地址 可以使用本地钱包地址。首先到Monero官网下载本地钱包,支持Windows 64-bit、Windows 32-bit、Mac OS X 64-bit、Linux 64-bit、Linux 32-bit、Mobile & Light Wallets以及Hardware Walle ...
分类:
其他好文 时间:
2018-03-10 18:45:01
阅读次数:
3091
Ekka and his friend Dokka decided to buy a cake. They both love cakes and that's why they want to share the cake after buying it. As the name suggeste ...
分类:
其他好文 时间:
2018-03-06 17:08:07
阅读次数:
161
Alice and Bob are playing a game with marbles; you may have played this game in childhood. The game is playing by alternating turns. In each turn a pl ...
分类:
其他好文 时间:
2018-03-05 20:51:00
阅读次数:
151
A great forest is set on fire by a small spark. 最小的火能点着最大的树林。 It is just a spark, but it is enough to light the way forward for me. It is just a spark ...
分类:
其他好文 时间:
2018-03-04 19:59:40
阅读次数:
175