题解列表

筛选

通过数列思想找规律解题!

摘要:解题思路:通过二位数组解决问题注意事项:观察图形规律参考代码:#include <stdio.h>int main(){ int n,l,i,j,k; scanf("%d",&n); l=4*n+5;……

自己总结——简洁明了

摘要:解题思路:注意事项:参考代码:import java.util.Scanner; public class Main{     public static void main(String[]……

找到一个易漏点

摘要:解题思路:注意事项:测试时输入数值时存在例如:41     1 2 1 2 3 42 3 4 5没有补齐0的操作,因此会导致后续索引超出范围,因此需要增加补0操作,本地已运行成功但还是只有87%的通过……

用宏求球的体积

摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <iostream>#include <iomanip>#include <math.h>using namespa……