07 2020 档案
摘要:今天在修改之前一位老哥留下的bug,就是做一个计时器,然后自己做了一个,顺便记录一下。 代码: // this.paparTime 为时间戳,秒为单位 // this.countdownClock 把时间转成00:00:00 的时间字符串格式 const timeOclock = setInterv
阅读全文
摘要:<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Object.defineProperty</title> </head> <body> <script> class Test { constructor(d
阅读全文
摘要:本来想搬砖,无奈没砖可搬,DIY 吧,反正也花不了多长事件 BigInteger求欧拉函数: public static BigInteger bigIntegerEuler(BigInteger n) { BigInteger ret = new BigInteger(n.toString());
阅读全文
摘要:额............我也不知道(先记下) printf("%d\n", (scanf("%d", &n), n)) printf("%d\n", (~scanf("%d", &n))); 打印结果都相同........ 测试题目连接:http://acm.hdu.edu.cn/showprob
阅读全文
摘要:记录一下,上次校赛没有做出来。。。。。。。。。。。。。。。。 题目(大概好像意思)是:给出一个字符串,找出按顺序组合成的ABC这类字符串的个数。 比如: ABC,则ABC顺序组合只有1个,组合序列为123 BAC,则ABC顺序组合只有0个 ABBABAC,则ABC顺序组合只有4个,组合序列为127,
阅读全文
摘要:# D: 表示盘符CHKDSK D: /f 个人觉得CHKDSK的全称是check disk 吧 查看更多 CHKDSK /?
阅读全文
摘要:看到某位同学给的东西,记录一下 一,打开cmd:按Win+r键,输入cmd, 回车 二,进入U盘:直接输入盘名称+:例如: e: 回车 f: 回车 。。。 三,显示被隐藏的文件:输入 attrib -s -r -h /s /d 回车 四,再显示被隐藏的.exe文件: 输入 attrib -s -r
阅读全文
摘要:以下几种解法: 参考博客 https://blog.csdn.net/Tianweidadada/article/details/79748074 一、暴力: #include <iostream> #include <cmath> #include <algorithm> #define N 50
阅读全文