上一页 1 2 3 4 5 6 ··· 11 下一页
摘要: 问题描述 森森开了一家快递公司,叫森森快递。因为公司刚刚开张,所以业务路线很简单,可以认为是一条直线上的N个城市,这些城市从左到右依次从0到(N−1)编号。由于道路限制,第i号城市(i=0,⋯,N−2)与第(i+1)号城市中间往返的运输货物重量在同一时刻不能超过Ci​公斤。 公司开张后很快接到了Q张 阅读全文
posted @ 2022-10-14 16:49 SAKURA12 阅读(91) 评论(0) 推荐(0) 编辑
摘要: 1 #include <bits/stdc++.h> 2 using namespace std; 3 const int N=1e4+10; 4 struct node 5 { 6 char type; 7 int id; 8 }; 9 int main() 10 { 11 int T,n; 12 阅读全文
posted @ 2022-10-08 18:20 SAKURA12 阅读(41) 评论(0) 推荐(0) 编辑
摘要: 问题描述 Grammy has a sequence A of length n. Please find a permutation P such that Pi≠Ai for all i. 输入格式 There are multiple test cases. The first line co 阅读全文
posted @ 2022-08-20 21:17 SAKURA12 阅读(35) 评论(0) 推荐(0) 编辑
摘要: 问题描述 What's the feeling of designing an icon for a school as a programmer? Now you have a chance doing it! The icon of Nanjing Foreign Language School 阅读全文
posted @ 2022-08-20 20:16 SAKURA12 阅读(25) 评论(0) 推荐(0) 编辑
摘要: 问题描述 One day, NIO's home is out of power. So Nio and his sister, Yasa, wanted to take some headphones from the drawer. In the dark, If they randomly t 阅读全文
posted @ 2022-08-20 20:07 SAKURA12 阅读(26) 评论(0) 推荐(0) 编辑
摘要: 问题描述 In a confined NIO space, there are n NIO particles, the i-th of which has ai​ joule energy. The NIO particles are very special as they keep colli 阅读全文
posted @ 2022-08-20 19:03 SAKURA12 阅读(23) 评论(0) 推荐(0) 编辑
摘要: 问题描述 NIO was the king of the OIN Kingdom. He had N children and wanted to teach them how to count. In the OIN Kingdom, pental is used in counting, so 阅读全文
posted @ 2022-08-20 18:19 SAKURA12 阅读(34) 评论(0) 推荐(0) 编辑
摘要: 问题描述 First, let's review some definitions. Feel free to skip this part if you are familiar with them. A sequence aaa is an increasing (decreasing) sub 阅读全文
posted @ 2022-08-20 17:59 SAKURA12 阅读(16) 评论(0) 推荐(0) 编辑
摘要: 问题描述 Eibwen is a newbie in Python. You might know that when you input a number in the command line, your Python program will receive a string containi 阅读全文
posted @ 2022-08-20 17:09 SAKURA12 阅读(25) 评论(0) 推荐(0) 编辑
摘要: 问题描述 There is a candy store near Mocha's school. It's said that the storekeeper, Dagashiya, can cast the railgun spell. To be the most powerful Mahou 阅读全文
posted @ 2022-08-20 16:38 SAKURA12 阅读(44) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 11 下一页