摘要:
The only difference between easy and hard versions is the number of elements in the array. You are given an array aa consisting of nn integers. In one 阅读全文
摘要:
You are given two matrices AA and BB. Each matrix contains exactly nn rows and mm columns. Each element of AA is either 00 or 11; each element of BB i 阅读全文
摘要:
You play your favourite game yet another time. You chose the character you didn't play before. It has strstr points of strength and intint points of i 阅读全文
摘要:
读入 w,请输出 2018 的字符画,两个数字之间有 w 个空格。具体格式请参考样例输出。 1 ≤ w ≤ 2018 Input 输入文件只包含 1 个整数 w. Output 输出 5 行,每行 12 + 3w 个字符(只包含 o 和 . 两种,字符画的部分用 o,空格的部分用 .),以换行符结尾 阅读全文
摘要:
For a series FF: \displaystyle \begin{gathered} F(0) = 0,F(1) = 1\\ F(n) = 3*F(n-1)+2*F(n-2),(n \geq 2) \end{gathered}F(0)=0,F(1)=1F(n)=3∗F(n−1)+2∗F(n 阅读全文
摘要:
John is not only a magic master but also a shuffling master. Famous though he is, he likes interacting with his fans by playing a game with his fantas 阅读全文
摘要:
This is an era of team success, but also an era of heroes. Throughout the ages, there have been numerous examples of using the few to defeat the many. 阅读全文
Pangu Separates Heaven and Earth(签到题)(The 2019 Asia Nanchang First Round Online Programming Contest)
摘要:
Long long ago, the sky and the earth were not separated, and the universe was chaotic. There was a giant named Pangu who slept for eighteen thousand y 阅读全文
摘要:
Carneginon was a chic bard. But when he was young, he was frivolous and had joined many gangs. Recently, Caneginon was to be crowned, because the king 阅读全文