题解列表

筛选

1229: 最小公倍数

摘要:解题思路:注意事项:参考代码:a,b=map(int,input().split()) def get(a,b):     if a%b==0:         return b      e……

1232: 查找最大元素

摘要:解题思路:注意事项:参考代码:while True: try: a=input() s=max(a) str='' for i in a:     if i!=s:   ……

1234: 检查一个数是否为质数

摘要:解题思路:注意事项:参考代码:n=int(input()) s=0 for i  in range(2,n//2+1):     if n%i==0:         print('N……

1259: 送分题素数

摘要:解题思路:注意事项:参考代码:def get(n):     s=0     for i  in range(2,n//2+1):         if n%i==0:          

明明白白的

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