09 2017 档案
摘要:啦啦啦在课上写代码就是爽,效率特别快!感觉在动手码之前不如简单的拿笔写一下思路,这样思路会很清晰,写起来也不会那么的费劲了。代码如下:#includeint n;const int N = 500;struct st{ int a, b, c; bool ...
阅读全文
摘要:最后一点真的不想改了 , 烦,不过这次真的学到了很多东西 代码如下#include#include#includeint n; int main() { while (scanf_s("%d", &n)) { int x[4], mid; ...
阅读全文
摘要:今天感觉良好,早早写完,但是貌似代码效率一般-。- 代码如下:#include#includevoid roll(char *a, char *b, char *c,char *d) { char k=*a; *a = *d; *d = *c; ...
阅读全文
摘要:还是坏习惯,写完了没bug就不想调试了,希望可以正常运行,产生正常结果吧。#include#includeint b[8][2] = { { 1, 0 },{ 0, 1 },{ -1, 0 },{ 0, -1 },{ 1, 1 },{ 1, -1 },{ -1, 1 ...
阅读全文