num1 = input("The first number is")
num2 = input("The second number is")
avg = (float(num1) + float(num2)) / 2
print("The average number is %f" %avg)
C++:
#include <iostream>
#include <cmath>
using namespace std;
int main()
{
long long n, m;
cin >> n >> m;
if(n < 27){
while((m - (1<<n)) >= 0){
m -= (1<<n);
}
}
cout << m << endl;
}
Leave none comment……
大标题
中标题
小标题
很小的标题
加粗文本
倾斜文本
删除文本单行代码:
#include <iostream>
多行代码:
C++:
Html:
特定语言:
超链接
Emoji::sparkles:
数学公式: $$x=\frac{-b\pm\sqrt{b^2-4ac}}{2a}$$
表格:
图片:![img_20171012_211341](https://user-images.githubusercontent.com/16256802/35618824-0807b304-06b7-11e8-9891-036dee56705a.jpg)
文件: cppWheel.docx