C语言 1635 整数平均值 不用指针数组 摘要:参考代码:#include <stdio.h> #include <string.h> #include <math.h> #include <stdlib.h> #include <ctyp…… 题解列表 2024年04月15日 0 点赞 0 评论 580 浏览 评分:0.0
python 链表删除,巧用reversed() ####简单思路:由于要求是*从a链表中删去b链表中有相同学号的那些节点*所以,为简单处理,直接删除第一个与第二个学生学号相同的相关学生信息。####解题代码:```pythonn,m=map(int,input().split())n_1=[list(map(int, 题解列表 2024年04月16日 0 点赞 0 评论 593 浏览 评分:0.0
python--study||O.o 摘要:参考代码:n = int(input()) res = 1 for i in range(1, n + 1): res *= i print(res)…… 题解列表 2024年04月16日 0 点赞 0 评论 1052 浏览 评分:0.0
仅两个变量解决交换值 解题思路:注意事项:参考代码:importjava.util.Scanner;publicclassMain{publicstaticvoidmain(String[]args){Scannerscanner=newScanner(System.in);inta=scanner.nextInt();i 题解列表 2024年04月16日 0 点赞 0 评论 1184 浏览 评分:0.0
编写题解 1671: 小九九 摘要:解题思路:注意事项:参考代码:for i in range(1, 10): for j in range(1, i + 1): print("%.d*%.d=%.d" %(…… 题解列表 2024年04月16日 0 点赞 0 评论 1022 浏览 评分:0.0
编写题解 1062: 二级C语言-公约公倍 摘要:解题思路:注意事项:参考代码:o = input().split() if len(o) >= 2: m, n = int(o[0]), int(o[1]) min = min(…… 题解列表 2024年04月16日 0 点赞 0 评论 591 浏览 评分:0.0
猴子吃桃,递归解决 摘要:解题思路:注意事项:参考代码://猴子吃桃#include <stdio.h> void peach(int x,int p){ if(x==1)printf("%d",p); else peac…… 题解列表 2024年04月16日 0 点赞 0 评论 519 浏览 评分:0.0
python--study||O.o 摘要:参考代码:n, m = map(int, input().split()) arr = [[int(num) for num in input().split()] for _ in range(n…… 题解列表 2024年04月16日 0 点赞 0 评论 577 浏览 评分:0.0
题解 2847: 找第一个只出现一次的字符 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ char a[100000]; int b; int i; …… 题解列表 2024年04月16日 0 点赞 0 评论 494 浏览 评分:0.0
python--study||O.o 摘要:参考代码:dx = (-1,0,1,0,-1,-1,1,1) dy = (0,-1,0,1,-1,1,-1,1) n, m = map(int, input().split()) map = […… 题解列表 2024年04月16日 0 点赞 0 评论 714 浏览 评分:0.0