摘要:B. AND Reconstruction time limit per test: 1 second memory limit per test: 256 megabytes input: standard input output: standard output You are given a
阅读全文
摘要:A. Maximize the Last Element time limit per test: 1 second memory limit per test: 256 megabytes input: standard input output: standard output You are
阅读全文
摘要:D. Fun time limit per test: 2 seconds memory limit per test: 256 megabytes input: standard input output: standard output Counting is Fun! — satyam343
阅读全文
摘要:C. Sort time limit per test: 5 seconds memory limit per test: 256 megabytes input: standard input output: standard output You are given two strings \(
阅读全文
摘要:由于A和B太简单了,我就放在一起讲了 A. Legs time limit per test: 2 seconds memory limit per test: 256 megabytes input: standard input output: standard output It's anot
阅读全文
摘要:G Horse Drinks Water 题目描述 This problem is a variant of the General’s Horse Drinking Water problem. Given that the general’s horse is at point \((x_G,
阅读全文
摘要:C. Squaring time limit per test: 2 seconds memory limit per test: 256 megabytes input: standard input output: standard output ikrpprpp found an array
阅读全文
摘要:本题含有B1和B2两个难度版本。由于关系相近,我把他们放在同一篇博客中,可自行选择观看 B1. Bouquet (Easy Version) time limit per test: 1.5 seconds memory limit per test: 512 megabytes input: st
阅读全文
摘要:A. Diagonals *time limit per test: 1 second memory limit per test: 256 megabytes input: standard input output: standard output Vitaly503 is given a ch
阅读全文
摘要:A Bridging the Gap 2 时间限制:C/C++ 1秒,其他语言2秒 空间限制:C/C++ 1048576K,其他语言2097152K Special Judge, 64bit IO Format: %lld 题目描述 A group of walkers arrives
阅读全文
摘要:B Crash Test header 时间限制:C/C++ 2秒,其他语言4秒 空间限制:C/C++ 1048576K,其他语言2097152K 64bit IO Format: %lld 题目描述 After five years, the most high-profile event in
阅读全文
摘要:L Sudoku and Minesweeper 时间限制:C/C++ 1秒,其他语言2秒 空间限制:C/C++ 1048576K,其他语言2097152K Special Judge, 64bit IO Format: %lld 题目描述 Sudoku is a logic-based, comb
阅读全文
摘要:C 小红的数字对对碰 时间限制:C/C++ 1秒,其他语言2秒 空间限制:C/C++ 262144K,其他语言524288K 64bit IO Format: %lld 题目描述 小红有一个长度为 的数组 ,第 位的值为 。她想通过以下方式,尽可
阅读全文
摘要:B 小红装匣子 时间限制:C/C++ 1秒,其他语言2秒 空间限制:C/C++ 262144K,其他语言524288K 64bit IO Format: %lld 题目描述 小红有 块 大小的物块, 块 的大小的物块,小红
阅读全文
摘要:A 两数之和 时间限制:C/C++ 1秒,其他语言2秒 空间限制:C/C++ 262144K,其他语言524288K Special Judge, 64bit IO Format: %lld 题目描述 对于给定的正整数 ,你需要寻找两个不同的正整数 和 ,使得 \
阅读全文
摘要:D. Grid Puzzle time limit per test: 2 seconds memory limit per test: 256 megabytes input: standard input output: standard output You are given an arra
阅读全文
摘要:C. Mad MAD Sum time limit per test: 2 seconds memory limit per test: 256 megabytes input: standard input output: standard output We define the \(\oper
阅读全文
摘要:B. Array Craft time limit per test: 1 second memory limit per test: 256 megabytes input: standard input output: standard output For an array of
阅读全文
摘要:A. Submission Bait time limit per test: 1 second memory limit per test: 256 megabytes input: standard input output: standard output Alice and Bob are
阅读全文
摘要:2024 Nowcoder Multi-University Training Contest 2 Problem A. Floor Tiles 题目大意 给你两种正方形图案,分别为以下两种: 再给你三个整数 ,表示你需要用这两种图案,拼成一个 列 行的矩
阅读全文
摘要:CodeForces 346A A. Alice and Bob time limit per test2 seconds memory limit per test256 megabytes inputstandard input outputstandard output It is so bo
阅读全文
摘要:CodeForces 641A Little Artem and Grasshopper 模拟(签到题)
阅读全文
摘要:CodeForces 843A Sorting by Subsequences 模拟/排序
阅读全文
摘要:CodeForces 618C C. Constellation time limit per test: 2 seconds memory limit per test: 256 megabytes inputstandard input outputstandard output Cat Nok
阅读全文
摘要:CodeForces 835D Palindromic characteristics 区间DP/Manacher
阅读全文
摘要:CodeForces 1019A A. Elections time limit per test: 2 seconds memory limit per test: 256 megabytes input: standard input output: standard output As you
阅读全文
摘要:CodeForces 1511 C Yet Another Card Deck [暴力/模拟]
阅读全文
摘要:CodeForces 197 A . Plate Game
阅读全文
摘要:黑暗爆炸 3399 题面 Description 约翰用沙子建了一座城堡.正如所有城堡的城墙,这城墙也有许多枪眼,两个相邻枪眼中间那部分叫作城齿. 城墙上一共有 个城齿,每一个都有一个高度 . 现在约翰想把城齿的高度调
阅读全文