题解列表
简单的C实现,整除的尾数
摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int m, n; while (scanf("%d%d", &m, &n) && n && m) { int……
编写题解 1027: [编程入门]自定义函数处理最大公约数与最小公倍数
摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int p(int x,int y); int q(int m,int n); int a,b; s……
蛇形矩阵 用dp函数来解答
摘要:解题思路:注意事项:参考代码:n=nt(input())dp=[[0]*n for i in rage(n)]dp[0][0]=1for i in range(1,n): dp[i][0]=dp……
不同单词个数统-小白题解-C语言代码
摘要:解题思路:注意事项:参考代码:#include <stdio.h>
#include <string.h>
char strArr[101];
char temp[101][101];
i……
数学思路来解这一道题的
摘要:解题思路:注意事项:参考代码:import mathwhile True: w, h = map(int, input().split()) if w==0 or h==0: ……