- 博客(11)
- 资源 (23)
- 收藏
- 关注
原创 《程序设计与算法》专项课程中止学习
大四那年物联网、大数据、云计算和机器学习等互联网技术铺天盖地涌向这个世界,于是大多数工科汪都幻想着码一手好代码来改变自身命运,走向人生巅峰。 其中很多人并非计算机专业出身,关于代码的印象只有大一曾经学过的C语言,他们恶补所谓的三个月速成班,顺利进入码农紧缺的互联网行业,月入八千以上。过年的日子里,看到有人自嘲已经会使用十种语言写”hello world”,打算在新的一年奋斗不止。一点都不奇怪,因为
2016-02-16 23:47:30 3002
原创 编程题#10:输出指定结果二(C++程序设计第10周)
描述通过填空使得程序输出的结果符合下面的要求。#include <iostream>#include <map>using namespace std;// 在此处补充你的代码int A::count = 0;void func(B b) { }int main(){ A a1(5),a2; cout << A::count << endl;
2016-02-16 22:01:32 3103 3
原创 编程题#9:人群的排序和分类(C++程序设计第10周)
描述对人群按照输入的信息进行排序和分类。#include <iostream>#include <set>#include <iterator>#include <algorithm>using namespace std;// 在此处补充你的代码int main(){ int t; cin >> t; set<A*,Comp> ct;
2016-02-16 21:59:32 2214
原创 编程题#8:计算整数k(C++程序设计第10周)
描述输入整数 n ( 0 <=n<= 2^30) , 以及整数i,j(0 <= i,j <31,i < j-1), 输出整数k(按十六进制输出结果 ),k的第i位和n相同,第j位和n不同,i,j之间的位是1, 其他位都是0。这里提到的所有的位,指的都是二进制位,最右边算第0位。输入第一行是整数 t,表示数据组数。每组输入数据是一行,三个整数 n,i和j。输出对每组输入数据,按十六进制输出结果。样例输
2016-02-16 21:57:11 2801
原创 编程题#7:字符串排序(C++程序设计第10周)
描述请按照要求对输入的字符串进行排序。#include <iostream>#include <string>#include <list>using namespace std;class A{private: string name;public: A(string n) :name(n){} friend bool operator <
2016-02-16 21:55:00 3989
原创 编程题#6:MyString(C++程序设计第10周)
描述请写出 MyString类,使得下面程序的输出结果符合下面的要求。#include <cstring>#include <cstdlib>#include <string>#include <iostream>using namespace std;// 在此处补充你的代码int CompareString( const void * e1, const void * e2){
2016-02-16 21:52:20 3141
原创 编程题#5:计算数组的低3位之和(C++程序设计第10周)
描述输入一个正整数构成的数组a[0], a[1], a[2], … , a[n-1], 计算它们的二进制低3位之和。#include <iostream>#include <vector>#include <algorithm>using namespace std;// 在此处补充你的代码int main(int argc, char* argv[]) { int v,
2016-02-16 21:49:31 2161
原创 编程题#4:计算整数平方和(C++程序设计第10周)
描述下列程序每次读入一个整数N,若N为0则退出,否则输出N和N的平方。#include <iostream>using namespace std;// 在此处补充你的代码int main(int argc, char* argv[]) { CType obj; int n; cin>>n; while ( n ) {
2016-02-16 21:47:14 5336 1
原创 编程题#3:计算数列平方和(C++程序设计第10周)
描述请写出sum函数,使其可以计算输入数列的平方和。#include <iostream>using namespace std;// 在此处补充你的代码int sqr(int n) { return n * n;}int main() { int t, n, a[0x100]; cin >> t; for (int c = 0; c < t; ++c) {
2016-02-16 21:44:59 5117
原创 编程题#2:输出指定结果一(C++程序设计第10周)
描述填写代码,使输出结果为22810#include <iostream>using namespace std;class Number {public: int num; Number(int n): num(n) { }// 在此处补充你的代码};int main() { Number a(2); Number b = a; cout
2016-02-16 21:42:04 2126
原创 编程题#1:输出200(C++程序设计第10周)
描述使以下代码输出结果为200.#include<iostream>using namespace std;class Number {public: int num; Number(int n=0): num(n) {}// 在此处补充你的代码};int main() { Number n1(10), n2(20); Number n3;n3 = n1*n
2016-02-16 21:39:06 2463
Machine_Learning_Yearning_V0.5_01
2016-12-08
CS231n课程知识点汇总(lecture1-5).docx
2016-11-18
OpenCV3编程入门_毛星云编著
2015-12-05
基于Activex控件的C++、C#混合编程
2015-11-07
扫雷程序源码
2015-06-12
VS2010 VC++创建.rc资源文件(二)
2015-06-07
VS2010 VC++创建.rc资源文件(一)
2015-06-07
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人