C:MiB到GiB转换;
#include <stdio.h>
int main(){
int lower, upper, m, g;
scanf("%d%d",&lower,&upper);
if(lower<=upper){
printf("M G n");
for(m=lower; m<=upper; m++){
printf("%d %d n",m,g);
}
}else
printf("Error");
return 0;
}