题解列表

筛选

三角形-题解(Python代码)

摘要:本题笔者直接从最后一排累加得解。 ```python n_test=int(input()) for i_test in range(n_test): n=int(input()) ……

三角形-题解(C++代码)

摘要:```cpp #include using namespace std; int a[105][105] = {0}; int main() { int i, j, t = 0, n,……

抢夺资源-题解(Python代码)

摘要:大约是因为这样的博弈问题已经进小学教材了.... ```python x=input() while x: n,m=map(int,x.split()) print('Ger……

指针字符串链接-题解(C语言代码)

摘要:````c //不用strcat函数,自己编写一个字符串连接函数MyStrcat(char dstStr[],char srcStr[]), //注意要单独编成函数,提交的时候提交全部的程序,包括……