2019-09-16 17:22:28 总体感受:这次比赛的模版题也太多了吧,两条模版题没有想出来。总的来说,还是自己的刷题量还是严重的不够。 注意点: 1)提升刷题量和覆盖率非常重要; 2)在碰到大数处理的时候,还是会出现一些问题,有两个路径吧,一个是使用long来测试一下;二是使用bigInte
转载 2019-09-16 17:23:00
59阅读
2评论
A database is running in ARCHIVELOG mode and regular backups are performed. A user receives the following error message: Which is the recommended sequ
转载 2017-11-16 14:59:00
45阅读
2评论
View the Exhibit and examine the privileges granted to the MGR_ROLE role. The user SKD has been granted the CONNECT and RESOURCE roles only. The datab
转载 2017-12-14 14:46:00
58阅读
2评论
传送门题目大意n个数 m个操作‘+’代表打开对撞机‘-’ 代表关闭对撞机前提保证打开的对撞机两两互质打开:可以激活 输出“Success”已经激活了 输出“Already o
原创 2022-07-15 10:42:16
42阅读
又名脂麻、胡麻(学名:Sesamum indicum),是胡麻的籽种,一年生直立草本植物,高60-150厘米。它遍布世界上的热带地区以及部
原创 6月前
255阅读
题目传送门 一、题目描述 有一个大小为\(k\)的滑动窗口,它从数组的最左边移动到最右边。 您只能在窗口中看到\(k\)个数字。 每次滑动窗口向右移动一个位置。 以下是一个例子: 该数组为\([1 \ \ 3\ \ -1\ \ -3\ \ 5\ \ 3\ \ 6\ \ 7]\),\(k\)为3。 窗口位置 最小值 最大值 [\(1\) \(3\) \(-1\)] \(-3\) \(5
原创 2021-09-14 13:33:58
291阅读
154. Factorial time limit per test: 0.5 sec. memory limit per test: 4096 KB input: standard input output: standard output You task is to find minimal natural number N, so that N! contains exactly Q zeroes on the trail in decimal notation. As you know N! = 1*2*...*N. For example, 5! = 12...
转载 2013-04-06 21:54:00
61阅读
2评论
删除链表中等于给定值 val 的所有节点。示例:输入: 1->2->6->3->4->5->6, val =
转载 2021-08-13 13:59:28
106阅读
第一行包含两个整数 n 和 k,分别代表数组长度和滑动窗口的长度。单调队列,主要是优化朴素做法,删除队列里面没用
原创 2023-01-14 01:44:29
130阅读
预处理...由于10^9   两个数如果互质子上是否已经有其他的数了..如果没有..将其质因子w[i
原创 2022-08-12 13:20:30
41阅读
算法标签 单调栈 滑动窗口题目简叙思路模拟队列 利用单调队列
原创 2023-03-20 15:00:46
121阅读
import javax.imageio.IIOException; import java.io.*; import java.util.Date; //字符输入流 public class FileManagerChar { public static void readCharFile(Fil
原创 2022-07-10 00:07:11
54阅读
预处理...由于10^5 #include#include#include#include #include#include#define ll long long#define oo 1000000007#define MAXN 100005using namespace std; int used[MAXN],Prime[MAXN],w[MAXN],N[MAXN],T[MAXN][30]; char c;bool A[MAXN],P[MAXN];bool IsPrime(int x){ for (int i=2;i*i<=x;i++) if (x%i==0) ... Read More
转载 2013-07-22 19:29:00
92阅读
2评论
给2个长度均为n的十进制数,你可以任意次交换2个数相同位置的数字,要求使它们乘积最小让其中一个数最小,另一个数最大。B - New Place给2个长度为n的串,每次可以把第一个串的第一个字符塞进这个字符串任意位置,问把这两个串变相同的最小次数。无解-1。有解当且仅当
原创 2023-01-28 06:31:55
313阅读
java
原创 2023-03-10 09:51:28
37阅读
A B D均比较简单。先说C题 K-Concatenation Maximum Sum Given an integer array arr and an integer k, modify the array by repeating it k times. For example, if arr
转载 2019-09-16 00:05:00
89阅读
2评论
code154.javapackage pack04;import java.io.IOException;import java.io.Print
原创 2021-12-07 17:42:12
46阅读
new154.javapackage pack02;import java.io.IOException;import java.io.PrintWriter;import java.util.HashMap;import java.util.Map;import javax.servlet.ServletException;import javax.servlet.annotation.WebServlet;import javax.servlet.http.HttpServlet
原创 2022-04-19 11:52:11
48阅读
原创 2022-11-12 07:12:50
76阅读
S:看不懂本篇文章的同学请先看前面的文章,循序渐进每
原创 2022-08-12 17:07:23
154阅读
  • 1
  • 2
  • 3
  • 4
  • 5