题解 | #计算机内存#
计算机内存
https://ac.nowcoder.com/acm/problem/22005
小技巧,没有用题目给定的换算,直接用示例一的数据等比例进行换算
#include <stdio.h>
#include <math.h>
int main()
{
int a,b;
scanf("%d",&a);
b=a*262144;
printf("%d\n",b);
return 0;
}计算机内存
https://ac.nowcoder.com/acm/problem/22005
小技巧,没有用题目给定的换算,直接用示例一的数据等比例进行换算
#include <stdio.h>
#include <math.h>
int main()
{
int a,b;
scanf("%d",&a);
b=a*262144;
printf("%d\n",b);
return 0;
}相关推荐