摘要:
题目3: 抓老鼠啊~亏了还是赚了? 我的代码: include int money=0; void search(char a,int p){ if(a=='X'){ if( p==2) p=1; else p=0; printf("U"); }else if(a=='T'){ if( p==2) 阅读全文
摘要:
题目2:币值转换 我的代码: include include void printNumber(char s, int i, int len); void printPlace(char s, int, int); int main() { char s[11]; int i, strLen; ge 阅读全文
摘要:
题目1:打印沙漏 我的代码: include int n; char a; int l; int sum=1; int rest; int space; int icon; int s; int i; int main() { scanf("%d %c",&n,&a); if(n=1;icon =2 阅读全文