2 zzzzzBelial




TA的排名 7w+


收集了一些资料整理了一个简单计步器,带简单界面,作课程设计的。网上很多都不能用,或者是项目太大,分享一下自己弄的,帮助一下像我这样的苦孩子。最后贴上了运行结果和目录结构。怎么进行改进就看自己了。权限:<?xml version="1.0" encoding="utf-8"?><manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.example.step"&g

2020-07-07 14:20:11



2020-07-02 15:08:04


windows下路径为:C:\Windows\System32\drivers\etc\hosts(把hosts移到左面,添加好下面几行,在移到原来位置) Linux下路径:/etc/hosts192.30.253.113 github.com192.30.253.113 github.com192.30.253.118 gist.github.com192.30.253.119 gist.github.com...

2020-05-31 10:09:59


最近老师布置了两个加密的作业,记录一下编码过程及遇到的问题。对于RSA解密基本内容这里就不赘述,直接说一下编码过程把:1:N = p*q(p、q互质,即公约数只有1)可以用辗转相除去判断2:L是p-1和q-1的最小公倍数。如果减一后仍互质,则为乘积。否则最小公倍数=两数的乘积/最大公约数3:求E:1<E<L并且要满足E,L互质4:求D:1<E<L 并且要...

2020-04-17 16:54:58

Bits Reverse

题目描述Now given two integers x and y, you can reverse every consecutive three bits in arbitrary number’s binary form (any leading zero can be taken into account) using one coin. Reversing (1,2,3) mean...

2019-05-02 12:01:24

Sequence in the Pocket

Time Limit:1 Second Memory Limit:65536 KBDreamGrid has just found an integer sequencein his right pocket. As DreamGrid is bored, he decides to play with the sequence. He can perform the fol...

2019-04-27 17:46:01

Lucky 7

BaoBao has just found a positive integer sequenceof lengthfrom his left pocket and another positive integerfrom his right pocket. As number 7 is BaoBao's favorite number, he considers a positive...

2019-04-27 13:17:17

Doki Doki Literature Club

Doki Doki Literature Club!is a visual novel developed by Team Salvato. The protagonist is invited by his childhood friend, Sayori, to join their high school's literature club. The protagonist then me...

2019-04-27 13:14:35

King of Karaoke

It's Karaoke time! DreamGrid is performing the songPowder Snowin the gameKing of Karaoke. The song performed by DreamGrid can be considered as an integer sequence, and the standard version of the ...

2019-04-27 13:13:31


A sequence ofintegersis called a peak, if and only if there exists exactly one integersuch that, andfor all, andfor all.Given an integer sequence, please tell us if it's a peak or not....

2019-04-27 13:12:40


传送门解题思路:输入n个点的坐标,第一个为始点,第二个位终点,其余的点都是这两点之间的点,求从起始点到终点的所有路径中最大边的最小的一个。解题思路:单源最短路的变形直接改SPFA就可以dis[i]在本题的意思是,点i到起来路径中最大的路径,if(dis[j] > max(dis[i],a[i][j])){ dis[j] = max(dis[...

2019-04-26 00:01:58

Til the Cows Come Home(最短路)

Bessie is out in the field and wants to get back to the barn to get as much sleep as possible before Farmer John wakes her for the morning milking. Bessie needs her beauty sleep, so she wants to get b...

2019-04-25 20:38:45


Give a stringSSandNNstringT_iTi​, determine whetherT_iTi​is a subsequence ofSS.If ti is subsequence ofSS, printYES,else printNO.If there is an array\lbrace K_1, K_2, K_3,\cdots, K_m \...

2019-04-20 19:53:13

Coloring Game

David has a white board with2 \times N2×Ngrids.He decides to paint some grids black with his brush.He always starts at the top left corner and ends at the bottom right corner, where grids should be ...

2019-04-20 19:34:47

Diverse Garland

time limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou have a garland consisting ofnnlamps. Each lamp is colored red, green or blue....

2019-04-20 19:15:43


There arennpoints on a horizontal line, labelled with11throughnnfrom left to right.The distance between theii-th point and the(i+1)(i+1)-th point isaiai.For each integerkkranged from11...

2019-04-17 20:39:46


Time Limit:1 Second Memory Limit:65536 KBBaoBao is brewing a magical potion. To brew this potion,types of ingredients, whose rank ranges from 1 to, is needed. More precisely, for all, ...

2019-04-14 17:59:01

Thanks, TuSimple!

ime Limit:1 Second Memory Limit:65536 KBIn the very first sentence of the very first problem, we would like to give our sincere thanks to TuSimple, the sponsor of this contest.Founded in 20...

2019-04-14 17:56:19

Odd Gnome

题目描述According to the legend of Wizardry and Witchcraft, gnomes live in burrows underground, known as gnome holes. There they digup and eat the roots of plants, creating little heaps of earth around...

2019-04-13 17:20:04

Greeting Card

题目描述Quido plans to send a New Year greeting to his friend Hugo. He has recently acquired access to an advanced high-precision plotter and he is planning to print the greeting card on the plotter.He...

2019-04-13 16:57:29


勋章 我的勋章
  • 持之以恒
  • 勤写标兵Lv2