上一页 1 ··· 3 4 5 6 7
摘要: python在线反编译把.pyc反编译为伪代码 #!/usr/bin/env python # visit https://tool.lu/pyc/ for more information import base64 def encode(message): s = '' for i in mes 阅读全文
posted @ 2021-08-28 14:33 iPlayForSG 阅读(76) 评论(0) 推荐(0)
摘要: 結論だけ、書く。 失敗した失敗した失敗した失敗した失敗した失敗した失敗した失敗した 失敗した失敗した失敗した失敗した失敗した失敗した失敗した失敗した 失敗した失敗した失敗した失敗した失敗した あたしは失敗した失敗した失敗した失敗した失敗した失敗した失敗した 失敗した失敗した失敗したあたしは失敗した失 阅读全文
posted @ 2019-11-18 23:19 iPlayForSG 阅读(171) 评论(0) 推荐(0)
摘要: 算是强迫自己复习一次做的题吧 "LuoGu3802 小魔女帕琪" 首先很重要的一点:$1 7$放了大招,可能$2 8$也会放大招。这对接下来的推导过程很重要。 先求出前$7$次放出大招的概率。 令$sum=\sum_{i=1}^{7}a_i$,则有: $P(7)=\frac{a_1}{sum} \f 阅读全文
posted @ 2019-11-13 22:33 iPlayForSG 阅读(139) 评论(1) 推荐(0)
摘要: Description 你被要求设计一个计算器完成以下三项任务: 1、给定y,z,p,计算Y^Z Mod P 的值; 2、给定y,z,p,计算满足xy≡ Z ( mod P )的最小非负整数; 3、给定y,z,p,计算满足Y^x ≡ Z ( mod P)的最小非负整数。 Input 输入包含多组数据 阅读全文
posted @ 2019-04-13 21:06 iPlayForSG 阅读(300) 评论(0) 推荐(0)
摘要: 题目描述 对于任何正整数x,其约数的个数记作g(x)。例如g(1)=1、g(6)=4。 如果某个正整数x满足:g(x) g(i) 0 INT_MAX可知质因子最多可达31,利用算数基本定理的推论: 设n = p1 ^ c1 + p2 ^ c2 + ..... + pn ^ cn,则n的质因子个数为( 阅读全文
posted @ 2019-03-30 20:54 iPlayForSG 阅读(442) 评论(0) 推荐(0)
摘要: Description The branch of mathematics called number theory is about properties of numbers. One of the areas that has captured the interest of number t 阅读全文
posted @ 2019-03-28 20:08 iPlayForSG 阅读(262) 评论(0) 推荐(0)
摘要: Description The Leiden University Library has millions of books. When a student wants to borrow a certain book, he usually submits an online loan form 阅读全文
posted @ 2019-03-16 20:34 iPlayForSG 阅读(384) 评论(0) 推荐(0)
摘要: Problem Description Last night, little erriyue had a horrible nightmare. He dreamed that he and his girl friend were trapped in a big maze separately. 阅读全文
posted @ 2019-03-14 19:40 iPlayForSG 阅读(291) 评论(0) 推荐(0)
摘要: 描述 Ha'nyu是来自异世界的魔女,她在漫无目的地四处漂流的时候,遇到了善良的少女Rika,从而被收留在地球上。Rika的家里有一辆飞行车。有一天飞行车的电路板突然出现了故障,导致无法启动。 电路板的整体结构是一个R行C列的网格(R,C≤500),如右图所示。每个格点都是电线的接点,每个格子都包含 阅读全文
posted @ 2019-03-12 20:00 iPlayForSG 阅读(568) 评论(0) 推荐(0)
摘要: B. Alyona and a tree Alyona has a tree with n vertices. The root of the tree is the vertex 1. In each vertex Alyona wrote an positive integer, in the 阅读全文
posted @ 2019-03-12 19:29 iPlayForSG 阅读(447) 评论(0) 推荐(0)
上一页 1 ··· 3 4 5 6 7