- 博客(2)
- 资源 (1)
- 收藏
- 关注
原创 3-5TeX中的引号
替换文本中的引号。(PS为了做题方便我实现将英文替换为中文引号)#include using namespace std;int main(){ int n; int q=1; while ((n=cin.get())!=EOF){ if (n=='"') {cout<<(q?"“":"”");q=!q;} else cout<<char(n); } retu
2015-11-20 12:10:08
299
原创 3-3蛇形填数
在n*n的方阵里填入1,2,...,n*n (n例如n=4时的方阵为:1 2 3 412 13 14 511 16 15 610 9 8 7程序:#include #include const int maxn = 20; using namespace std;int main(){ int a[max
2015-11-19 14:57:14
350
sublime Text 3 build 3143可用激活码
2017-09-20
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人