- 博客(4)
- 收藏
- 关注
原创 Dijkstra算法
题目链接:http://acm.sdut.edu.cn/onlinejudge2/index.php/Home/Index/problemdetail/pid/2143.html 直接从代码开始讲: #include<bits/stdc++.h> using namespace std; #define INF 0x3f3f3f3f struct node { i...
2018-04-19 11:24:40 130
原创 课后题第二个
#include<iostream>#include<cstring>#include<string>using namespace std;class Person{private: char Name[100]; char Sex; int Age;public: void Register1(char *name,char sex,int age) { ...
2018-04-11 19:39:27 102
原创 实力编写成
#include<bits/stdc++.h>using namespace std;class EmpSalary{public: float Wage; float Subsidy; float Rent; float CostOfElec; float CostOfWater;public: float RealSum() { ...
2018-04-10 21:06:56 164
原创 课后题
#include<bits/stdc++.h>using namespace std;class Person{private: char Name[10]; char Sex; int Age;public: void Register1(char *name,char sex,int age) { strcpy(Name,name); ...
2018-04-08 23:17:25 94
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人