2nd

kaggle Open Problems – Single-Cell Perturbations 1st & 2nd place solution summary

Leaderboard: https://www.kaggle.com/competitions/open-problems-single-cell-perturbations/leaderboard 2nd Solution: https://www.kaggle.com/competitions ......

The 2nd Universal Cup. Stage 3: Binjiang

比赛链接 没做完。 A. Almost Prefix Concatenation 给定字符串 \(S,T\)。称一个串是好的,当且仅当可以通过修改不超过一个字符使其成为 \(T\) 的前缀。 称一个把 \(S\) 划分成 \(n\) 个非空子串 \(S_1,S_2,\cdots,S_n\) 的方案是 ......
Universal Binjiang Stage The 2nd

2023 China Collegiate Programming Contest (CCPC) Guilin Onsite (The 2nd Universal Cup. Stage 8: Guilin)

题解: https://files.cnblogs.com/files/clrs97/2023Guilin_Tutorial.pdf Code: A. Easy Diameter Problem #include<bits/stdc++.h> using namespace std; const i ......

ICCBDAI2021 第*届计算机大数据与人工智能国际会议 The 2nd International Conference on Computer, Big Data and Artificial Intelligence

第二届计算机大数据与人工智能国际会议(ICCBDAI2021) . 01 会议信息 . 【会议简称】:ICCBDAI2021 【会议全称】: The 2nd International Conference on Computer, Big Data and Artificial Intellige ......

The 2nd Universal Cup Stage 13: Shenyang A

赛时没有过又为队友拖后腿了。 考虑原限制具有什么性质,可以发现 \(j\) 能接到 \(i\) 后面仅当 \(\text{max}_{S_{i}} \leqslant \text{max}_{S_{j}}\),而当 \(\text{max}_{S_{i}} = \text{max}_{S_{j}}\ ......
Universal Shenyang Stage The 2nd

The 2nd Universal Cup. Stage 12- Hefei

E. Matrix Distances 因为行列的贡献是独立的,所以可以按照颜色分别统计 #include <bits/stdc++.h> using namespace std; #define int long long using i32 = int32_t; using vi = vecto ......
Universal Stage Hefei The 2nd

聪明办法学 Python 2nd Edition

聪明办法学 Python 2nd Edition Chapter 5 循环 Loop for 循环和循环范围 for 循环的特点 基于提供的范围,重复执行特定次数的操作 In [1] def sumFromMToN(m, n): total = 0 # 注意: range(x, y) 是左闭右开区间 ......
Edition 办法 Python 2nd nd

The 2nd Universal Cup. Stage 6: Warsaw L.Spectacle (思维)

大致题意: 给定n个玩家,每个玩家有一个战力值,安排 x (1 <= x <= n/2(向下取整))场游戏,每场游戏安排x对玩家对战,对于每一场游戏每个玩家只能参加一次对战,要求对于每x场玩家对战的两个玩家rating差的最大值尽可能小。 例如给定6个玩家战力值为10 13 14 20 100 10 ......
Spectacle Universal 思维 Warsaw Stage

The 2018 ACM-ICPC Asia Qingdao Regional Contest, Online (The 2nd Universal Cup. Stage 1: Qingdao)

Preface 好以后我就是SUA铁粉了,每次打SUA出的题感觉都很好,全程有事情干并且中档题很多很适合我们队这种比上不足的队伍打 不过yysy这场题目偏数据结构和图论方面比较重,而数学方向则不多,刚好撞上了我们队熟悉的地方,因此最后卡着时间过了9题 而且最近CF评测机不知道咋了,这场好多题光读入用 ......
Qingdao The Universal ACM-ICPC Regional

[QOJ6555] The 2nd Universal Cup. Stage 5. J : Sets May Be Good

先给 EI 磕三个 首先考虑用 \(n\) 个变量 \(x_1,x_2,\cdots,x_n\in\{0,1\}\) 表示第 \(i\) 个点选不选,那么导出子图的边数的奇偶性就是 \[f(x_1,x_2,\cdots,x_n)=\left(\sum_{(i,j)\in E}x_ix_j\right ......
Universal Stage 6555 Good Sets

[NSSCTF 2nd]Math

​ 原题py: from secret import flag from Crypto.Util.number import * import gmpy2 length = len(flag) flag1 = flag[:length//2] flag2 = flag[length//2:] e = ......
NSSCTF Math 2nd nd

The 2nd Universal Cup. Stage 5: Northern J Sets May Be Good

题解 我们考虑计算 \(\sum_{S\subseteq\{1,2,3,\cdots,n\}} (-1)^{cnt(S)}\),这里 \(cnt(S)\) 表示 \(S\) 集合的导出子图的边数。 我们记 \(x_i=[i\in S]\)。 我们考虑删掉 \(n\) 号点。 注意到如果 \(x_i\ ......
Universal Northern Stage Good Sets

The 2nd Universal Cup. Stage 4: Taipei - I(状压DP)

目录I. Interval Addition I. Interval Addition 题意 给定一个长度为 n $(1\le n \le 23) $ 的数组 a。你可以进行一种操作:选择区间 \([l, r]\) 并给这个区间所有的数都加上一个任意的数。问你使得整个数组均为 0 所需的最小操作次数 ......
Universal Taipei Stage The 2nd

The 2018 ACM-ICPC Asia Qingdao Regional Contest, Online (The 2nd Universal Cup

The 2018 ACM-ICPC Asia Qingdao Regional Contest, Online (The 2nd Universal Cup. Stage 1: Qingdao) J - Press the Button \(1 \leq a, b, c, d \leq 10^6\) ......
The Universal ACM-ICPC Regional Contest

The 2023 CCPC Online Contest (The 2nd Universal Cup, Stage 3: Binjiang)

题解: https://files.cnblogs.com/files/clrs97/CCPC-Online-2023-%E9%A2%98%E8%A7%A3.pdf Code: A. Almost Prefix Concatenation #include<cstdio> #include<cstr ......
The Universal Binjiang Contest Online

[NSSCTF 2nd]MyBase

思路:IDA打开,发现有符号表,还贴心的备注了Base64加密。仔细一看也确实是这样。拿base64表直接丢到赛博厨子,太棒了,没有结果。 怀疑是不是趁我睡着了改了我的Base64表,直接下断点动调,不调不要紧,一调吓一跳,Base64表在每次循环的时候都会变,但是加密用的表一定是相同的,那就记录每 ......
NSSCTF MyBase 2nd nd

The 2nd Universal Cup. Stage 2- SPb

A. Mixed Messages dp[i][j]表示前i位,选择\(j\)个移动到一起的最小花费。 #include<bits/stdc++.h> using namespace std; #define int long long constexpr int inf = 1E9; int32_ ......
Universal Stage The 2nd Cup

The 2nd Universal Cup. Stage 2: SPb

链接:https://contest.ucup.ac/contest/1356 A. Mixed Messages #include "bits/stdc++.h" using namespace std; using i64 = long long; int main() { ios::sync_ ......
Universal Stage The 2nd Cup

The 2nd Universal Cup. Stage 1- Qingdao

# A. Live Love 最大值就是把所有的$P$放在一起,最小值是尽可能的均分. ```cpp #include using namespace std; #define int long long void solve() { int n , m , d ; cin >> n >> m , ......
Universal Qingdao Stage The 2nd

The 2nd Universal Cup. Stage 1: Qingdao

### G #### Description 给定一个数列,每次ban一个位置,在每次ban之前,求连续子序列逆序对数的最大值,强制在线。(6s)$n\leq10^5, \sum n \leq10^6$ #### Solution 先考虑用权值线段树来维护区间逆序对数,不难支持在原数列前后加或删除一 ......
Universal Qingdao Stage The 2nd

NSSCTF 2nd Crypto复现

1,EzRSA 题目代码: from Crypto.Util.number import * from secret import flag m = bytes_to_long(flag) assert m.bit_length()<200 p = getPrime(512) q = getPrim ......
NSSCTF Crypto 2nd nd

2023NSSCTF2nd-RE-4道wp

# NSSCTF2023 # bytecode ```python import base64 import string def check(): pass def init(): pass def fun(): pass def encrypt1(): pass def encrypt2(): ......
NSSCTF2nd-RE NSSCTF2 NSSCTF 2023 2nd

NSSCTF 2nd WP

# NSSCTF 2nd WP ## MISC ### gift_in_qrcode ```python import qrcode from PIL import Image from random import randrange, getrandbits, seed import os imp ......
NSSCTF 2nd nd WP

NSSCTF 2nd-WEB部分writeup

# 所以王原的代价是? writewp ![](https://img2023.cnblogs.com/blog/3181170/202308/3181170-20230828154508828-1077733855.png) ## WEB (遗憾,差点AKweb,最后一个真的做不了一点,还是太菜了 ......
2nd-WEB writeup 部分 NSSCTF 2nd

2nd 分书

源代码 #include <iostream>using namespace std;int main(){ //数学上排列问题 A53 for(int i=1;i<=5;i++){ for(int j=1;j<=5;j++){ for(int k=1;k<=5;k++){ if(i!=j&&i!= ......
2nd nd

第16章 发布和部署应用程序(ASP.NET Core in Action, 2nd Edition)

本章包括 发布 ASP.NET Core 应用程序 在 IIS 中托管 ASP.NET Core 应用程序 自定义 ASP.NET Core 应用程序的 URL 通过捆绑和缩小优化客户端资源 到目前为止,我们在这本书中涵盖了大量的内容。我们已经介绍了构建 ASP.NET Core 应用程序的基本机制 ......
应用程序 Edition 程序 Action Core

第17章 使用日志记录监视和排除错误(ASP.NET Core in Action, 2nd Edition)

第3部分 扩展应用程序 我们在第1部分和第2部分中介绍了大量内容:我们查看了您将用于构建传统服务器渲染的 Razor Pages 应用程序以及 Web API 的所有主要功能组件。在第3部分中,我们将讨论六个不同的主题,这些主题基于您目前所学的内容:日志记录、安全性、自定义组件、与第三方HTTP A ......
错误 Edition Action 日志 Core

第12章 使用 Entity Framework Core 保存数据(ASP.NET Core in Action, 2nd Edition)

本章包括(请点击这里阅读其他章节) 什么是实体框架核心以及为什么应该使用它 向 ASP.NET Core 应用程序添加实体框架核心 构建数据模型并使用它创建数据库 使用实体框架核心查询、创建和更新数据 使用 ASP.NET Core 构建的大多数应用程序都需要存储和加载某种数据。甚至本书中迄今为止的 ......
Core Framework Edition 数据 Entity

第13章 MVC和Razor Pages过滤器管道(ASP.NET Core in Action, 2nd Edition)

本章包括 过滤器管道及其与中间件的区别 创建自定义筛选器以重构复杂的操作方法 使用授权筛选器保护您的操作方法和Razor页面 短路筛选器管道以绕过操作和页面处理程序执行 将依赖项注入筛选器 在第1部分中,我详细介绍了ASPNETCore的MVC和RazorPages框架。您了解了如何使用路由来选择要 ......
过滤器 管道 Edition Action Razor

第10章 带有依赖注入的服务配置(ASP.NET Core in Action, 2nd Edition)

第2部分 构建完整的应用程序 我们在第一部分中讨论了很多内容。您看到了ASP.NET Core应用程序是如何由中间件组成的,我们主要关注RazorPages框架。您了解了如何使用Razor语法构建传统的服务器端渲染应用程序,以及如何为移动和客户端应用程序构建API。 在第2部分中,我们将深入到框架中 ......
服务配置 Edition Action Core ASP
共41篇  :1/2页 首页上一页1下一页尾页