题解列表

筛选

石头剪子布,硬解(doge)

摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){    int n;    char a[10],b[10];    scan……

1144一行解(Python)

摘要:解题思路:掌握lambda写法注意事项:注意结构的顺序,不建议解题这样书写参考代码:print((&#39;  &#39;.join(n for n in list(map(lambda x : &#……

1479:删除数组中的0元素

摘要:解题思路:注意事项:参考代码:#include <stdio.h> int count = 0; void CompactIntegers(int a[], int gt); //数组元素,数组元……

公共子序列

摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int dp[1005][1005];int main(){ string s1,……

简单明了,看了就懂

摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){    int a,b;    while (scanf("%d %d",&a,&b)!=EOF)    {   ……

用筛法求之N内的素数

摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){      int n,i,j,t;      scanf("%d",&n);      for(i=2;i<=n……