题解列表

筛选

输入两小时,计算五分钟

摘要:解题思路:  这数据输入,每行的最后一个字符是'\n',但是最后一行的最后一个字符是啥不知道,反正不是空格,也不是换行。注意事项:  贴的代码乱乱的,去这看吧:https://www.……

2854: 密码翻译

摘要: import java.util.Scanner; public class Main {     public static void main(String[] args) {   ……

过河卒 python

摘要:n,m,cx,cy=list(map(int,input().split()))dp=[[0 for x in range(m+1)]for y in range(n+1)]b=[[0 for x i……

我这个巨简单

摘要:# 读取输入 L, M = map(int, input().split()) road = [0] * (L + 1)  # 创建一个长度为 L+1 的数组,用于表示马路上的树 # 处理区……

题解 2853: 字符替换

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

c语言代码解决问题

摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<stdlib.h>#define maxsize 1001typedef struct treenode{ int d……

C语言---堆排序

摘要:解题思路:注意事项:参考代码:#include <stdio.h> #include <stdlib.h> #include <assert.h> typedef int HPDatatyp……