牛客32950103号
牛客32950103号
全部文章
分类
归档
标签
去牛客网
登录
/
注册
牛客32950103号的博客
全部文章
(共19篇)
题解 | #奇偶校验#
#include "bits/stdc++.h" using namespace std; void getAns(string msg) { for (int i = 0; i < msg.length(); ++i) { char c...
2024-03-24
0
187
题解 | #打牌#
import java.util.Map; import java.util.Scanner; public class Main { public static boolean isBigger(String s, String enemy) { int[] hash =...
2024-03-23
0
232
题解 | #矩阵幂#
import java.util.Arrays; import java.util.Scanner; class Matrix { public static void mutl(int[][] matrix1, int[][] matrix2) { int len = m...
2024-03-23
0
217
题解 | #字符串匹配#
import java.util.Scanner; import java.util.regex.Matcher; import java.util.regex.Pattern; public class Main { public static void main(String[] ar...
2024-03-23
0
199
题解 | #旋转矩阵#
import java.util.Arrays; import java.util.Scanner; class Matrix{ //顺时针旋转90 public static void spin(int[][] matrix) { int len = matri...
2024-03-23
0
210
题解 | #C翻转#
import java.util.Arrays; import java.util.Scanner; public class Main { public static void swapMatrix(int[][] temp) { int len = temp.leng...
2024-03-23
0
196
题解 | #平方因子#
#include "bits/stdc++.h" using namespace std; int sushu[]={2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61, 67, 71, 73, ...
2024-03-22
0
266
题解 | #排列与二进制#
#include <iostream> using namespace std; int main() { int n, m; while (cin >> n >> m) { if (!n && !m) ...
2024-03-22
0
204
题解 | #怪异的洗牌#
import java.util.ArrayList; import java.util.Arrays; import java.util.Scanner; public class Main { public static void reverse(int[] nums, int s...
2024-03-22
0
186
题解 | #继续xxx定律#
import java.util.HashSet; import java.util.LinkedList; import java.util.Scanner; public class Main { static LinkedList<Integer> f(int [] n...
2024-03-21
0
213
首页
上一页
1
2
下一页
末页