harumakigohan686

2023年1月14日

CP1067 模拟洗牌

摘要: 考到了函数的递归+回溯,很有意思 俺的做法: #include <stdio.h> #include <ctype.h> #include <string.h> #include <math.h> char b[1000]; char c[1000]; char d[1000]; char a[10 阅读全文

posted @ 2023-01-14 16:21 harumakigohan 阅读(43) 评论(1) 推荐(0)
CP1061 小车去哪儿了

摘要: 一道很有趣的题目,考了小车的行动,同时要设置方向号来进行偏移方向 俺的做法: #include <stdio.h> #include <ctype.h> #include <string.h> #include <math.h> int main() { int x=0,y=0; int dirto 阅读全文

posted @ 2023-01-14 14:40 harumakigohan 阅读(15) 评论(0) 推荐(0)