Little Artem and Grasshopper
题目链接:http://codeforces.com/contest/669/my
题意:
心得:一直走的情况,只要这个人跳到之前有调到的格子,就会一直循环下去。当调到 0~n-1 之外,就会跳出。
代码:
题目链接:http://codeforces.com/contest/669/my
题意:
心得:一直走的情况,只要这个人跳到之前有调到的格子,就会一直循环下去。当调到 0~n-1 之外,就会跳出。
代码:
题目链接 [戳我][Link 1] \\(Solution\\) 观察发现如果一个数两边都比他大,删掉他可以保证最优,这个应该是显然的。这个东西用单调栈维护一下,
When you install packages using setup.py, the error: (py37) C:\Users\weda\Phd\pyt
Little Pony and Permutation Time Limit : 2000/1000ms (Java/Other) Memory Limit : 327
题目链接:http://codeforces.com/problemset/problem/641/D 题目大意:一共有两个骰子,每个骰子都有n个面,上面分别是1到n,投到每
题目链接:http://codeforces.com/problemset/problem/460/B 题意: 输入a,b,c 0 < x < 109 x = b
A. Grasshopper And the String time limit per test 1 second memory limit per test 256
题目链接:http://codeforces.com/contest/669/my 题意: 心得:一直走的情况,只要这个人跳到之前有调到的格子,就会一直循环下去。当调到 0
昨天在牛客刷到的一道题 如果在地址a存储的整形值时0x04030201,那么地址为a+3的字节内存储的值在big-endian和little-endian结构下的值分
A little girl loves problems on bitwise operations very much. Here's one of them. You a
[更好的阅读体验][Link 1] Portal Portal1: [Codeforces][] Portal2: [Luogu][] Description
还没有评论,来说两句吧...