- 博客(8)
- 收藏
- 关注
原创 PAT A1075. PAT Judge
#include <iostream>#include <algorithm>#include <cstring>#define Max_K 6using namespace std;struct Student{ int id;//准考证号 int score_of_problem[Max_K];//每道题的分数 int ...
2019-05-11 14:40:05 178
原创 PAT A1055. The world's Richest
#include <iostream>#include <cstring>#include <algorithm>using namespace std;struct Billionaire{ char name[10]; int age; int wealth;}billionaire[100010];bool cmp...
2019-05-08 13:45:28 156
原创 PAT A1028. List Sorting
这题简单#include <iostream>#include <cstring>#include <algorithm>using namespace std;struct Student{ int id; char name[10]; int grade;}student[100010];bool cmp1(St...
2019-05-08 13:02:45 126
原创 PAT A1025. PAT Ranking
有点忙,晚点整理吧#include <iostream>#include <algorithm>#include <cstring>using namespace std;struct Testee{ char id[15]; int grade; int location_number; int local_r...
2019-05-07 21:36:41 116
原创 PAT A1012. The Best Rank
#include <iostream>#include <algorithm>#include <cstring>using namespace std;struct Student{ int id; int C; int M; int E; int A; int best_rank; ...
2019-05-06 21:33:06 188
原创 Boot程序初探
一,首先编写boot引导程序的汇编代码: org 0x7c00 BaseOfStack equ 0x7c00Label_Start: mov ax, cs mov ds, ax mov es, ax mov ss, ax mov sp, BaseOfStack;======= clear screen mov ax, 0600h mov bx, 0700h m...
2019-05-06 01:08:49 2266
原创 PAT 甲级 “德才论” 1062
题目:PAT 甲级 1062为什么我用 字符数组类型的 考号是输入会错啊以下是用int类型的代码 可AC#include <cstdio>#include <algorithm>#include<cstring>using namespace std;/*******************************************...
2019-05-05 14:50:28 129
原创 Ubuntu18.04 Bochs环境配置
UBUNTU18.04 Bochs环境配置Boch下载安装nasm进入到bochs文件的目录./config配置试着去make install再次尝试make install再次make install 成功啦!试着启动Bochs加粗样式Boch下载地址:https://sourceforge.net/projects/bochs/files/bochs/2.6.9/我安装的是 .tar....
2019-05-03 02:21:39 3272
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人