题解列表

筛选

字符串移位包含问题

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

删除单词后缀

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

1211基础解法(Python)

摘要:注意事项:用import sys的情况下进行多行输入第一个测试点有问题,但是结果没有错误,所以这两种方式有什么区别呢?参考代码:while True:    try:        a,b = map……

c语言代码解决问题

摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){    int n, m, a[1000], i, sum[1000] = {0}, j,k=0,y, x = 0……

chatgpt给出的解答

摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main() {    int a[10];    int b, c, n;        for (n = 0; n < 9……

五星好评,返现两元哦!

摘要:解题思路:注意事项:参考代码:#includemain (){double N;scanf("%d",&N); if(N>0){printf("positive");}else if(N ==0){p……

1670: 拆分位数

摘要:解题思路:num1=num/100;//百位num2=num/10%10;//十位num3=num%10;//个位注意事项:希望有大佬提供不一样的思路参考代码://逆序输出这个三位数,输出个位、十位、……

双重循环小九九

摘要:解题思路:注意事项:注意左对齐且在计算机中默认就是左对齐但由于字长度不一样造成不对齐若有错误请大佬们指出来参考代码:/*输出九九乘法表,乘法的乘积占两位,并靠左对齐,每个乘法表达式之间有一个空格!注意……