上一页 1 2 3 4 5 6 7 ··· 14 下一页
摘要: 第一种做法:这种方法,算法复杂性大,重复的递归 include "stdafx.h" include include include include include include include using namespace std; int getGolds(vector golds); in 阅读全文
posted @ 2017-03-19 20:42 wdan2016 阅读(1507) 评论(0) 推荐(1) 编辑
摘要: include "stdafx.h" include include include include include using namespace std; int main() { float L, R; while (cin L R) { float len = 2 3.1415926 R; 阅读全文
posted @ 2017-03-19 17:36 wdan2016 阅读(998) 评论(0) 推荐(0) 编辑
摘要: 第一种方法 include "stdafx.h" include include include using namespace std; int main() { int num; cin num; //vector heads; while (num!=0) { num ; int n; int 阅读全文
posted @ 2017-03-16 20:55 wdan2016 阅读(213) 评论(0) 推荐(0) 编辑
摘要: include "stdafx.h" include include using namespace std; int main() { int num; cin num; while (num!=0) { num ; string str; // getline(cin,str); cin str 阅读全文
posted @ 2017-03-16 18:54 wdan2016 阅读(143) 评论(0) 推荐(0) 编辑
摘要: 一. Linux系统 linux常用指令,如何查看内存 ls cd pwd mkdir rm rmdir mv cp cat more less head tail which whereis locate find chmod tar chown df du ln date cal grep wc 阅读全文
posted @ 2017-03-16 15:34 wdan2016 阅读(158) 评论(0) 推荐(0) 编辑
摘要: 思路:两个指针,一个从左往右,一个从右往左,只能跳过一次,第二次的时候及说明需要添加两个字符 include "stdafx.h" include include using namespace std; int main() { string str; while (cin str) { bool 阅读全文
posted @ 2017-03-15 20:15 wdan2016 阅读(478) 评论(0) 推荐(0) 编辑
摘要: // ConsoleApplication5.cpp : 定义控制台应用程序的入口点。 // include "stdafx.h" include include include include include using namespace std; int main() { int p,n; w 阅读全文
posted @ 2017-03-07 17:31 wdan2016 阅读(311) 评论(0) 推荐(0) 编辑
摘要: // ConsoleApplication5.cpp : 定义控制台应用程序的入口点。 // include "stdafx.h" include include include include include using namespace std; bool compVec(vector vec 阅读全文
posted @ 2017-03-07 17:01 wdan2016 阅读(233) 评论(0) 推荐(0) 编辑
摘要: // ConsoleApplication5.cpp : 定义控制台应用程序的入口点。 // include "stdafx.h" include include include include include using namespace std; int main() { int n; whi 阅读全文
posted @ 2017-03-07 16:05 wdan2016 阅读(720) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 14 下一页