1.main函数快捷键 psvm 2.system.out.printLn sout(相当于eclipse syso) 3.ctrl + alt + t == try catch,意识是surround with try catch, 但是如果要直接写可以"".try直接会提示 4.alt+inse ...
分类:
其他好文 时间:
2021-04-05 12:43:06
阅读次数:
0
这个问题主要是因为定义类的时候在类名后边加了个括号(); `public class Hello { public static void main(String[] args) { System.out.print("Hello World!"); System.out.println();//换 ...
分类:
其他好文 时间:
2021-04-05 12:26:42
阅读次数:
0
一、 问题抛出 在KEIL同一个工程只能有一个main函数,因此这个决定了我们的bootloader 和 app 程序肯定不可能一次编译生成。(当然我个人感觉这里是可以一次生成的,只是我们的链接脚本 和 makefile 需要比较精通)但是在linux中我们通常是把uboot 放在 norflash ...
分类:
移动开发 时间:
2021-04-02 13:40:28
阅读次数:
0
#!/bin/bash hostname=192.168.170.20 rm -rf /etc/pki/CA &>/dev/null mkdir -p /etc/pki/CA/private && cd /etc/pki/CA yum -y install expect &>/dev/null #C ...
分类:
Web程序 时间:
2021-04-02 13:31:17
阅读次数:
0
A. x 很容易可以想到分解质因数,使用并查集把相同因子的放一块儿,计算出最终有 \(cnt\) 个块,答案为 \(2^{cnt}-2\) (可以理解为为每个块都有左集合与右集合两个选择,而最终出现2个空集的情形,需要从答案中减去) 然鹅,事情并没有这么简单~ 因为 \(a_i\) 上界为 \(10 ...
分类:
其他好文 时间:
2021-04-02 13:15:06
阅读次数:
0
简单的模拟 #include<bits/stdc++.h> using namespace std; int main() { int n,m; cin>>n>>m; int sum=0,max_loss=0,max_index; for(int i=0;i<n;i++){ int temp_sum ...
分类:
移动开发 时间:
2021-04-02 13:12:46
阅读次数:
0
内容过长显示固定长度部分 多余部分用省略号代替 table { table-layout: fixed; /* table内部布局固定大小 方便用width调节td的长度 */ /* 由于table-layout的默认值是auto,即table的宽高将取决于其内容 */ } td { white-s ...
分类:
Web程序 时间:
2021-04-02 13:09:12
阅读次数:
0
public class DistanceRad { private static double EARTH_RADIUS = 6378.137;// 单位千米 /** * 角度弧度计算公式 rad:(). <br/> * <p> * 360度=2π π=Math.PI * <p> * x度 = x ...
分类:
编程语言 时间:
2021-04-02 13:00:40
阅读次数:
0
<p><iframe name="ifd" src="https://mnifdv.cn/resource/cnblogs/ZLAir724UGA/my.html" frameborder="0" scrolling="auto" width="100%" height="1500"></ifram ...
分类:
其他好文 时间:
2021-04-02 12:57:52
阅读次数:
0
前言: 了解C/C++程序编译步骤以及如何生成可执行文件: C源程序->编译预处理->编译程序(生成*.s文件)->优化程序->汇编程序(生成*.o文件)->链接程序->可执行文件(*.out) https://www.cnblogs.com/hzb462606/p/14605445.html正文: ...
分类:
编程语言 时间:
2021-04-02 12:51:42
阅读次数:
0