释放双眼,带上耳机,听听看~!public int getScreentHeight() {int heightPixels;WindowManager w this.getWindowManager();Display d w.getDefaultDisplay();DisplayMetrics metrics new DisplayMetrics();d.getMetrics(metrics);// since…
废话不多说,模板拿来。 1 # include <iostream>2 # include <cstdio>3 # include <cstring>4 # include <string>5 # include <cmath>6 # include <vector>7 # include <map>8 # include <queue>9 # include <c…