摘要:
Cypher Game n*m的矩阵只能向右读数,相当于一层又一层的 嵌套,然后根据读取的顺序,输入两行等长的数字1-n*m,第一行和和第二行是一一对应的,按照读取的顺序输出第二行的解密密码。 C++ #include<bits/stdc++.h> using namespace std; cons 阅读全文
摘要:
Here is a simple game. In this game, there are several piles of matches and two players. The two player play in turn. In each turn, one can choose a p 阅读全文
摘要:
A factory produces products packed in square packets of the same height h and of the sizes 1*1, 2*2, 3*3, 4*4, 5*5, 6*6. These products are always del 阅读全文
摘要:
题目描述 输入描述: 输出描述: 输入例子: 输出例子: #include<bits/stdc++.h> using namespace std; struct student { char name[11]; int grade; char subject[11]; }; student res[ 阅读全文
摘要:
输入描述: 输出描述: 输入例子: 输出例子: #include <iostream> #include <string> #include <vector> using namespace std; string num[10] = { "ling","yi", "er", "san", "si" 阅读全文
摘要:
题目描述 Given N rational numbers in the form "numerator/denominator", you are supposed to calculate their sum. 输入描述: Each input file contains one test ca 阅读全文
摘要:
J How Much Memory Your Code Is Using? 字符串模拟 阅读全文
摘要:
A. The King's Race A. The King's Race On a chessboard with a width of nn and a height of nn, rows are numbered from bottom to top from 11 to nn, colum 阅读全文
摘要:
一个等差数列是一个能表示成 a, a+b, a+2b,..., a+nb (n=0,1,2,3,...)a,a+b,a+2b,...,a+nb(n=0,1,2,3,...)的数列。 在这个问题中 aa 是一个非负的整数,bb 是正整数。写一个程序来找出在双平方数集合(双平方数集合是所有能表示成 p^ 阅读全文
摘要:
I-Tourists LCA裸题 阅读全文