题解列表

筛选

比较简单的一种方法

摘要:解题思路:先看题目,找出规律注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ int n,i,cnt=0; long int a[3000]……

编写题解 2885: 矩阵转置

摘要:解题思路:       刷题过程中发现的快速转置方法注意事项:参考代码:n,m=map(int,input().split())a=[]for _ in range(n):    a.append(i……

c++暴力枚举时间统计

摘要:解题思路:枚举1000秒内所有情况,再利用map记录x y的最大情况注意事项:参考代码:#include<bits/stdc++.h>#define int long longusing namesp……

发工资咯(Java题解+递归+数组)

摘要:解题思路:注意事项:参考代码:import java.util.Scanner;public class Main {    // 定义人民币面额数组    static int[] denomina……

python drgrregrg

摘要:解题思路:注意事项:参考代码:n = int(input())c, w ,t = 1, 1, 1while t < n:    c += 1    w = 3*w    t += w    print……

最简单的解法

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