2013年12月6日
摘要: #include #include #define max 100 /* run this program using the console pauser or add your own getch, system("pause") or input loop */void Bubble_sort(int *p,int n){ int i,j,temp; for( i=0 ; ip[j+1]) { temp=p[j]; p[j]=p[j+1]; p... 阅读全文
posted @ 2013-12-06 22:25 HelloYou 阅读(314) 评论(0) 推荐(0) 编辑
摘要: 数据测试了好几个都没问题,可以就是WA不让过,检测了2个小时还是没发现有什么问题T_T!!求高手看看代码,小弟在此谢谢各位哦!#include #include #define max 1000/* run this program using the console pauser or add your own getch, system("pause") or input loop */int main(int argc, char *argv[]) { int stu[max]; //学生的ID int stur[max]; //学生的成绩 int ran... 阅读全文
posted @ 2013-12-06 21:55 HelloYou 阅读(2516) 评论(32) 推荐(1) 编辑