上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 62 下一页
摘要: 【题目来源】 洛谷:AT_abc466_f [ABC466F] Many Mod Calculation 【题目描述】 You are given integers \(N,X\) and a length-\(N\) sequence of positive integers \(A=(A_1,A 阅读全文
posted @ 2026-07-13 16:03 团爸讲算法 阅读(13) 评论(0) 推荐(0)
摘要: 【题目来源】 洛谷:AT_abc466_e [ABC466E] Range Flip 【题目描述】 There are \(N\) cards lined up. The cards are numbered \(1, 2, \ldots, N\). On the front side of car 阅读全文
posted @ 2026-07-13 15:10 团爸讲算法 阅读(23) 评论(0) 推荐(0)
摘要: 【题目来源】 洛谷:AT_abc466_d [ABC466D] Placing Rooks 【题目描述】 There is a grid with \(N\) rows and \(N\) columns. Initially, nothing is placed on the grid. Star 阅读全文
posted @ 2026-07-13 11:28 团爸讲算法 阅读(13) 评论(0) 推荐(0)
摘要: 【题目来源】 洛谷:AT_abc466_c [ABC466C] Count Close Pairs 【题目描述】 This is an interactive problem (in which your program and the judge program communicate via S 阅读全文
posted @ 2026-07-13 10:56 团爸讲算法 阅读(12) 评论(0) 推荐(0)
摘要: 【题目来源】 洛谷:AT_abc466_b [ABC466B] Representative Balls 【题目描述】 There are \(N\) balls. The color of the \(i\)-th ball is \(C_i\), and its size is \(S_i\). 阅读全文
posted @ 2026-07-13 09:39 团爸讲算法 阅读(9) 评论(0) 推荐(0)
摘要: 【题目来源】 洛谷:AT_abc466_a [ABC466A] Compromise 【题目描述】 There are \(N\) choices. You will choose one of these choices. If you choose the \(i\)-th choice, yo 阅读全文
posted @ 2026-07-13 09:30 团爸讲算法 阅读(8) 评论(0) 推荐(0)
摘要: 附上汇总帖:GESP认证C++编程真题解析 | 汇总 单选题 第1题 小杨正在编写一个“数字交换器”程序,他希望通过函数交换两个变量的值。请问运行以下代码后,屏幕上输出的是( )。 void exchange(int *a, int &b) { int t = *a; *a = b; b = t; 阅读全文
posted @ 2026-07-12 21:14 团爸讲算法 阅读(15) 评论(0) 推荐(0)
摘要: 附上汇总帖:GESP认证C++编程真题解析 | 汇总 单选题 第1题 关于计算机的数据编码,下面说法正确的是( )。 A. 机器数 1000 1101B 的真值可能是 -13 (如果它是原码)或 141 (如果它是无符号数)等数,这取决于我们如何解释它。 B. 计算机中,所有数据最终都以二进制、八进 阅读全文
posted @ 2026-07-12 19:02 团爸讲算法 阅读(37) 评论(0) 推荐(0)
摘要: 【题目来源】 洛谷:P15804 [GESP202603 八级] 消息查找 - 洛谷 【题目描述】 小 A 的消息记录中有 \(n\) 条消息,依次以 \(1, 2, \dots, n\) 编号。编号小的消息发送时间早于编号大的消息。 一条消息可以引用一条编号小于它的消息,也可以不引用消息。小 A 阅读全文
posted @ 2026-07-09 23:26 团爸讲算法 阅读(7) 评论(0) 推荐(0)
摘要: 【题目来源】 洛谷:P15802 [GESP202603 七级] 拆分 - 洛谷 【题目描述】 小 A 想将正整数 \(n\) 拆分成若干个正整数之和,并最大化拆分后的正整数之积。小 A 希望你帮他计算出拆分后正整数之积的最大值。由于答案可能很大,你只需要求出答案对 \(10^9\) 取模的结果。 阅读全文
posted @ 2026-07-09 23:26 团爸讲算法 阅读(16) 评论(0) 推荐(0)
上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 62 下一页