/* 主要是画图,画很多图,找规律,找到规律以后,发现算是简单题思路的关键是:每次切割都与前(i-1)刀有交点的情况下,得到的块数是最大的
*/ #include <iostream>
typedef long long ll;
using nam…
如果想在nuxt中直接使用其他文件的路径,比如下面的components,我们需要在nuxt.config.js进行配置即可。
import SiteHeader from components/site/SiteHeader.vuebuild: {/*** You can extend webpack config here*/extend(config, ctx) {// Run ESLint…
建集合 private ArrayList<Integer> selectpositionnew ArrayList<>();//Integer可换任何类型 选中就添加入集合 public void onChoose(final int position){selectposition.add(position);
} 取消则移除集合 public void onNoChoose(final int position){try {sel…
1、工具类
/*** 作者:created by meixi* 邮箱:15913707499163.com* 日期:2018/12/28 15*/public class TimerUtil {private static final int nHandlerMsg 23566124;private int nStartDelayTime;private int nIntervalTime;private Timer …