![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
乱写
没有灵魂的程序员
一个不想写代码的程序员
展开
-
一个很给力的程序,表白用的。
http://blog.csdn.net/nealgavin/article/details/8887061#include #include #define N 50HANDLE hConsole;void gotoxy(int x, int y){ COORD coord; coord.X = x; coord.Y = y; SetConsoleCursorPositio转载 2016-11-16 20:50:24 · 2482 阅读 · 1 评论 -
随机产生1到n的不重复序列
给别人写了个一群老师改卷子 就一个要求就是不能改自己的卷子产生随机序列的代码就在里面//N个随机数用1~N这N个数随机组成且不重复#includeusing namespace std;struct node{ int x,y;} aa[1000010];bool cmp(node a,node b){ return a.x<b.x;}in原创 2017-03-27 21:25:56 · 2583 阅读 · 0 评论 -
OJ提交题目中的语言选项里G++与C++的区别
一、OJ提交题目中的语言选项里G++与C++的区别http://www.th7.cn/Program/cp/201405/199001.shtml首先更正一个概念,C++是一门计算机编程语言,G++不是语言,是一款编译器中编译C++程序的命令而已。那么他们之间的区别是什么?在提交题目中的语言选项里,G++和C++都代表编译的方式。准确地说,选择C++的话,意味着你将转载 2017-07-16 21:20:09 · 369 阅读 · 0 评论