A - Thickest Burger 水. #include <bits/stdc++.h> using namespace std; int t; int a, b; int main() { scanf("%d" ,&t); while (t--) { scanf("%d%d", &a, &b); if (a > b) swap(a, b); printf(); } ; } B - Relative atomic ma…
refer to: http://www.stealthcopter.com/blog/2009/09/python-calculating-pi-using-random-numbers/ During my undergraduate degree I wrote a program in fortran 95 to calculate pi using random numbers. My aim is to rewrite it efficiently in python. I know…
最近公司有项目想要在树莓派上做,代替原来的工控机(我们是把工控主机当作小的主机用,一台小的工控主机最少也要600左右,而树莓派只要200多).于是,公司买了一个Raspberry Pi B+和一个Raspberry Pi 2 B,并要求能在B+上做就尽量用B+,原因很简单,B+比Raspberry Pi 2要便宜70左右.拿到闻名已久的树莓派之后很是兴奋,试着从官网下载了官方推荐的镜像raspbian,用Win32DiskImager烧录到SD卡上,然后上电,起初屏幕上什么都没显示,不管重新烧写…
there are some things to do for raspberry pi 3b for the first time: 1, connect pi with monitor/KB/mouse, then power on it and go into its desktop(by default):expand system up to the whole storage of SD card(it seems to be maximum of 64G by official e…