- 博客(9)
- 资源 (1)
- 收藏
- 关注
翻译 Java 数据结构实验之链表五:单链表的拆分
import java.util.LinkedList;import java.util.Scanner;public class Main { public static void main(String[] args) { Scanner reader=new Scanner(System.in); LinkedList<Integer> list=new Lin...
2018-11-28 20:01:39 934
翻译 学生信息的添加与查询
import java.text.ParseException;import java.text.SimpleDateFormat;import java.util.*;public class Main { public static void main(String[] args) { Scanner cin=new Scanner(System.in); int t; ...
2018-11-28 18:13:00 479
翻译 小学数学
import java.util.*;public class Main { public static void main(String[] args) { Scanner cin=new Scanner(System.in); String str; int num=0,t; String[] s=new String[4]; while(cin.hasNextLin...
2018-11-28 17:57:34 162
翻译 时间日期格式转换
Sample Input22010/11/20-12:12:121970/01/01-00:01:01Sample Output11/20/2010-12:12:12pm01/01/1970-12:01:01amimport java.text.ParseException;import java.text.SimpleDateFormat;import java...
2018-11-28 09:25:20 241
翻译 学生信息的添加与查询
import java.text.ParseException;import java.text.SimpleDateFormat;import java.util.*; public class Main { public static void main(String[] args) throws ParseException { Scanner sc = new Scan...
2018-11-17 18:23:46 252
翻译 来淄博旅游
Problem Description淄博某旅行社每天都要接待来自全国各地的游客,他们从各个城市来到张店区,游玩后又去淄博的其他旅游景点。从各个城市来张店的游客只是在网上报名,然后旅行社根据统计的人数,用大巴把他们从不同城市拉到张店。在张店玩一天后,这些游客又要到淄博其他景点玩,所以重新统计到淄川、临淄、周村、博山去的游客,用大巴把他们分送过去。统计这些游客是很费精力的,但让电脑做会简单一些...
2018-11-10 11:07:42 182
翻译 数据结构实验之二叉树四:(先序中序)还原二叉树
Problem Description给定一棵二叉树的先序遍历序列和中序遍历序列,要求计算该二叉树的高度。Input输入数据有多组,每组数据第一行输入1个正整数N(1 <= N <= 50)为树中结点总数,随后2行先后给出先序和中序遍历序列,均是长度为N的不包含重复英文字母(区分大小写)的字符串。Output 输出一个整数,即该二叉树的高度。Sample Inp...
2018-11-07 17:26:13 370
原创 Give Candies
There are NN children in kindergarten. Miss Li bought them NN candies. To make the process more interesting, Miss Li comes up with the rule: All the children line up according to their student number ...
2018-11-01 08:35:01 174
原创 Doki Doki Literature Club
原题链接Hint题目没啥难度,就是按照不同的冒泡都能完成。根据公式将给定的单词和幸福度排序即可。#include <iostream>#include <algorithm>#include <cstring>#include <bits/stdc++.h>using namespace std;struct node{...
2018-11-01 08:34:29 1533
springSecurity.zip
2020-02-24
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人