摘要: 1 #include "stdio.h" 2 #include "string.h" 3 #define maxd 10000 4 int r,c,n; 5 struct Command{ 6 char c[5];//操作,比如EX,IR 7 int r1,c1,r2,c2;// EX交换的坐标 8 int a,x[20];//a:每次操作的操作次数(非E... 阅读全文
posted @ 2019-01-23 20:53 付玬熙 阅读(98) 评论(0) 推荐(0) 编辑
摘要: 先用二维数组把编码存进来 比如:TNM AEIOUcode[1][0]=Tcode[2][0]=N code[2][1]=M code[2][2]=code[3][0]=A code[3][1]=E code[3][2]=I code[3][3]=O code[3][4]=U 然后再读入2#换算后求 阅读全文
posted @ 2019-01-23 13:45 付玬熙 阅读(125) 评论(0) 推荐(0) 编辑