题解列表

筛选

辗转相。。。。

摘要:解题思路:注意事项:参考代码:#include<stdio.h>int gcd(int a,int b){    if(a%b==0)    {        return b;    }else{ ……

..................

摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){    int a[3][3];    for(int i=0;i<3;i++)    {        for(……

JAVA 糖果游戏升级版

摘要:解题思路:如果换成动态的n,不指定5   可能 6 7 8 9用数组来存储数据,先判断加减后是否超过左边界或者右边界如果超出进行数组下标调整注意事项:参考代码:import java.util.Sca……

字符串连接

摘要:解题思路:注意事项:参考代码#include<stdio.h>#include<string.h>int main() {    char arr1[100];    gets(arr1);    i……

提取字符串之java

摘要:StringBuilder 是 Java 中用于处理字符串的可变类。它属于 java.lang 包,提供了一种比直接使用 String 类更有效的方式来构建和修改字符串。StringBuilder 对……

for and if买房子

摘要:解题思路:注意事项:参考代码:#include <iostream>#include <cmath>using namespace std;int main(){    double y=200;  ……

跟我徐海东

摘要:解题思路:注意事项:参考代码:#include<stdio.h>int f[100000];int a[100000];int count;int max=0,A;int c[100];int mai……