international programming collegiate contest

面向对象编程(Object-Oriented Programming,OOP)

面向对象编程(Object-Oriented Programming,OOP)是一种编程思维方式和编码架构,是一种 对现实世界理解和抽象的方法,是计算机编程技术发展到一定阶段后的产物。 什么是对象:对象是客观存在的事物,可以说任何客观存在的都是可以成为对象,一台电脑,一直钢笔,一个人,一辆轿车等等, ......

AtCoder Regular Contest 092 E Both Sides Merger

[洛谷传送门](https://www.luogu.com.cn/problem/AT_arc092_c "洛谷传送门") [AtCoder 传送门](https://atcoder.jp/contests/arc092/tasks/arc092_c "AtCoder 传送门") Key obser ......
AtCoder Regular Contest Merger Sides

GET XXX 500 (Internal Server Error),

详细信息 GET http://lXXX] 500 (Internal Server Error) jquery.min.js:4 点击Network查看详细的报错信息如下 当前标识(IIS APPPOOL\DefaultAppPool)没有对“C:\ ASP.NET Files”的写访问权限。 参 ......
Internal Server Error GET 500

freee Programming Contest 2023(AtCoder Beginner Contest 310)

# [freee Programming Contest 2023(AtCoder Beginner Contest 310) - AtCoder](https://atcoder.jp/contests/abc310) ## [A - Order Something Else (atcoder.j ......
Contest Programming Beginner AtCoder freee

meta program - 实例化

```cpp template struct pow : std::integral_constant::value> {}; template struct pow : std::integral_constant {}; template using pow_two_with_exp = pow ......
实例 program meta

visual studio在运行ashx文件时 出现 Failed to load resource: the server responded with a status of 500 (Internal Server Error)

报错详细信息如下 “/”应用程序中的服务器错误。 分析器错误 说明: 在分析向此请求提供服务所需资源时出错。请检查下列特定分析错误详细信息并适当地修改源文件。分析器错误消息: 未能创建类型“WebApp.FileUploadHandler”。源错误: 行 1: <%@ WebHandler Lang ......
responded Internal resource 文件 visual

AtCoder Beginner Contest 310

(AtCoder Beginner Contest 310) A - Order Something Else 思路:比较下打折和不打折的情况 #include<bits/stdc++.h> using namespace std; #define int long long typedef pai ......
Beginner AtCoder Contest 310

近期 AtCoder Beginner Contest 题目选做

# AtCoder Beginner Contest 310 E ![image](https://img2023.cnblogs.com/blog/3143679/202307/3143679-20230716111621465-258910171.png) https://atcoder.jp/ ......
Beginner 题目 AtCoder Contest

AtCoder Beginner Contest 310

> 感觉F又双叒叕写复杂了 ## [A - Order Something Else (abc310 A)](https://atcoder.jp/contests/abc310/tasks/abc310_a) ### 题目大意 点杯咖啡,要$p$元,但可以用一个优惠券,使得咖啡只要 $q$元,但你 ......
Beginner AtCoder Contest 310

*** These critical programs are missing or too old: compiler

001、问题 *** These critical programs are missing or too old: compiler 002、查看c编译器版本 [root@PC1 build]# gcc --version gcc (GCC) 4.8.5 20150623 (Red Hat 4.8 ......
critical compiler programs missing These

*** These critical programs are missing or too old: make compiler

001、问题 *** These critical programs are missing or too old: make compiler 002、查看当前的make版本 [root@PC1 build]# make --version 003、make官网:http://ftp.gnu.or ......
critical compiler programs missing These

freee Programming Contest 2023(AtCoder Beginner Contest 310)题解

[点我看题](https://atcoder.jp/contests/abc310/tasks) A - Order Something Else 直接比较$P$和$Q+min(D_i)$,输出较小值即可。 点击查看代码 ``` #include #define rep(i,n) for(int i ......
Contest 题解 Programming Beginner AtCoder

AtCoder Beginner Contest 310

[toc] 题目传送门:[abc 310](https://atcoder.jp/contests/abc310) 比赛摘记: B题没读懂题意。。。如此简单题卡了好久 ![image](https://img2023.cnblogs.com/blog/2920764/202307/2920764-2 ......
Beginner AtCoder Contest 310

7.15 contest T4

### 题目描述 有$n$个巨大的整数和一个进制$p$。 无限使用这些整数,进行$p$进制下的不进位加法。 通过这种组合能拼凑出的最大数字,就是我所需要的密码了。 ### 输入格式 第一行两个整数$n,p$,表示数字个数和进制。 接下来$n$行,每行一个十进制整数$a_i$,表示一个给出的数字。 数 ......
contest 7.15 15 T4

Atcoder Regular Contest 118 F - Growth Rate

想到插值其实就挺套路的了吧…… 设 $dp_{i,j}$ 表示有多少种方法确定 $a_i\sim a_n$ 使得 $a_i=j$。那么有 $dp_{i,j}=\sum\limits_{k\ge ja_i}dp_{i+1,k}$。边界条件是 $dp_{n+1,1\sim m}=1$。不难发现复杂度与值 ......
Atcoder Regular Contest Growth Rate

SMU Summer 2023 Contest Round 1

SMU Summer 2023 Contest Round 1 A - The Contest 思路:求出最短解决问题总时间,在所有区间找出大于等于总时间的最短时刻。 #include<bits/stdc++.h> using namespace std; #define int long long ......
Contest Summer Round 2023 SMU

SMU Summer 2023 Contest Round 2

SMU Summer 2023 Contest Round 2 A - Treasure Hunt 思路:判断 Δx 和 Δy 能否分别整除 x 和 y ,求出需要的步数,两者的步数须同奇或同偶 #include<bits/stdc++.h> using namespace std; //#defi ......
Contest Summer Round 2023 SMU

SMU Summer 2023 Contest Round 3

SMU Summer 2023 Contest Round 3 A - Curriculum Vitae 思路:要求0后不能有1,当某个数都不删时,值为前面所有的0的个数加后面所有1的个数,求出最大即可 #include<bits/stdc++.h> using namespace std; #de ......
Contest Summer Round 2023 SMU

SMU Summer 2023 Contest Round 3

[A. Curriculum Vitae](http://https://codeforces.com/group/L9GOcnr1dm/contest/450890/problem/A "A. Curriculum Vitae") 题意:给出一串01序列,可以删除任意个元素,使得1后面没有0 思路 ......
Contest Summer Round 2023 SMU

AtCoder Beginner Contest 294

# A - Filter ```cpp #include using namespace std; #define int long long int32_t main() { ios::sync_with_stdio(false) , cin.tie(nullptr) , cout.tie(nul ......
Beginner AtCoder Contest 294

SMU Summer 2023 Contest Round 2

[A. Treasure Hunt](http://https://codeforces.com/group/L9GOcnr1dm/contest/450889/problem/A "A. Treasure Hunt") 题意:给出船的出发位置和目的地,给出四种移动方式。 思路:路程要被整除。横移纵 ......
Contest Summer Round 2023 SMU

AtCoder Beginner Contest 309 - D(最短路)

[toc] 题目传送门:[abc 309](https://atcoder.jp/contests/abc309) 前面的简单题就不放了 # [D - Add One Edge](https://atcoder.jp/contests/abc309/tasks/abc309_d) **题意:** 给 ......
Beginner AtCoder Contest 309

SMU Summer 2023 Contest Round 1

[A. The Contest](http://https://codeforces.com/group/L9GOcnr1dm/contest/450888/problem/A "A. The Contest") 题意:要做n道题,每道题花费时间a[i],但是只有几个时间段可以提交,问最早什么时间可 ......
Contest Summer Round 2023 SMU

AtCoder Beginner Contest 162

# AtCoder Beginner Contest 162 ABCD全暴力 E数学题看不懂,感性理解 F线性dp,非常基础我不会,寄 ## E - Sum of gcd of Tuples (Hard) 看了题解发现好多做法都是推一堆式子,我实在看不懂(卷积莫反啥啥的呜呜呜) 然后看见这个感觉比较 ......
Beginner AtCoder Contest 162

Atcoder Regular Contest 114 F - Permutation Division

显然分成 $k$ 段以后,最大化形成的排列的字典序的策略是将所有段按第一个元素的大小降序排列。 由于最终排列的字典序肯定 $\ge$ 原排列的字典序,因此我们考虑最大化最终排列与原排列的 LCP,这部分就考虑二分答案,记 $dp_i$ 表示以 $p_1$ 开始 $p_i$ 结尾的 LDS 的长度,那 ......
Permutation Division Atcoder Regular Contest

Atcoder Regular Contest 117 F - Gateau

首先答案显然满足可二分性,于是不管三七二十一先上个二分。 不难发现题目中的限制形如: - $s_{i+n-1}-s_{i-1}\ge X_i(i\le n)$ - $s_{i-1}-s_{i-n-1}\le s_{2n}-X_i(i>n)$ 转换一下限制就变成 $s_{i+n}-s_{i}\in[l ......
Atcoder Regular Contest Gateau 117

Atcoder Regular Contest 156 E - Non-Adjacent Matching

感觉可能没有银牌的难度(?),感觉有的铜牌题比这要难一些。 先猜一下什么样的 $\{x_i\}$ 是合法的。结论是 $\forall i,x_i+x_{i\bmod n+1}\le S-(x_i+x_{i\bmod n+1})$,且 $S$ 是偶数。必要性显然。充分性就考虑如果不存在任何一个 $i$ ......

.NET 7发布到IIS HTTP 错误 500.19 - Internal Server Error

之前一直都是用的独立发布,就没有配置过服务器环境,今天发布了一个依赖版,果不其然报错了 一番查找之后原因也是很简单,服务器需要安装一个.NET运行时的环境 https://dotnet.microsoft.com/zh-cn/download/dotnet/7.0 打开之后下载这一个,你也可以选择下 ......
Internal 错误 500.19 Server Error

PromptLang:A simple prompt-based programming language specifically designed for use inside GPT prompts

PromptLang:A simple prompt-based programming language specifically designed for use inside GPT prompts ......

AtCoder Regular Contest 164 A~C

A题都没做出来(被自已菜晕 ## A. **Ternary Decomposition** [A - Ternary Decomposition (atcoder.jp)](https://atcoder.jp/contests/arc164/tasks/arc164_a) ### 题意 给定一个正 ......
AtCoder Regular Contest 164