代码: #include <stdio.h> #include <stdlib.h> /* run this program using the console pauser or add your own getch, system("pause") or input loop */ int ma Read More
代码: #include <stdio.h> #include <stdlib.h> /* run this program using the console pauser or add your own getch, system("pause") or input loop */ int gc Read More
# JJU-干干 试题 A: 跑步训练 代码: #include <stdio.h> #include <stdlib.h> /* run this program using the console pauser or add your own getch, system("pause") or Read More
试题 A: 美丽的 2 本题总分:5 分 问题描述:在公元 1 年到公元 2020 年(包含)中,有多少个年份的数位中包含数字 2? #include <stdio.h> #include <stdlib.h> /* run this program using the console pauser Read More
注:出现类似 !pdfTeX error: miktex-pdftex.exe (file ntx-***): Font ntx-*** at *** not found 貌似都可以用以下方法解决 编译环境和编译器:Miktex + WinEdt 解决方案: 1. win+R打开运行窗口,输入cmd Read More
代码: % 从1-n里选出m个互不相同的数,同时这m个数与i也不相同 function R = difR(i,n,m) R = randperm(n,m); % 从1-n中随机选择m个互不相同的数(n>=m) while ismember(i,R) % 判断i是否在矩阵R中 R = randperm Read More