题解列表

筛选

1951:求平方和

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

就是nb,不会速来看

摘要:解题思路:注意事项:参考代码:n = int(input())sum_1 = 0t = 0for i in range(10000,999999):    i = str(i)    p = i   ……

拓扑排序qaqaq

摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h> //就是一个字符串关系型的拓扑排序  using namespace std; struct node{ int……

题目 1093: 字符逆序

摘要:解题思路:①将输入的字符串生成列表②用reverse进行翻转③输出字符注意事项:输出为一行参考代码:li=list(str(input()))if len(li)<=100: li.reverse()……

用筛法求之N内的素数

摘要:解题思路:注意事项:参考代码://用筛法求之N内的素数#include<stdio.h>int main(){ int n; int a[1001]; scanf("%d",&n); for(int ……

编写题解 1209: 密码截获

摘要:解题思路:注意事项:参考代码:while True:     try:         st=input()         ts=st[::-1]         s=[]   &n

C语言训练-求PI*(python版)

摘要:解题思路:注意事项:参考代码:import mathsum = 0i = 1k = 0n = 1while math.fabs(n) >= 10**(-6):    #控制循环    sum += n……