摘要:
GCD作为缩写意义有多种。它通常表示多核编程的解决方法,也有最大公约数(greatest common divisor,简写为gcd;或highest common factor,简写为hcf),此外它还是什么共什么产什么党什么的拼音缩写和游戏《鬼吹灯外传》的拼音缩写和“创意群总监”的英文缩写。在这 阅读全文
摘要:
学了这么久,来打一次CF看看自己学的怎么样吧 too young too simple 1152C. Neko does Maths 题目链接:"https://codeforces.com/contest/1152/problem/C" 题目大意:给你两个数a,b,现在要你找出一个数k使得(a+k 阅读全文
摘要:
3117 高精度练习之乘法 "题目链接" . 日常水题 阅读全文
摘要:
代码如下 include using namespace std; define max_len 1000 void heapify( int tree [] , int n , int i ){ if( i = n )return ; int c1 = 2 i + 1 ; int c2 = 2 i 阅读全文
摘要:
CODE[VS] 3115 高精度练习之减法 "题目链接" . 日常水一水,没啥好说的,就是模拟 include using namespace std; int main() { char zf='?'; string a,b; vector c,d; int cc[505]={0},dd[505 阅读全文
摘要:
@ "TOC" Math CodeForces 1062B 题目链接 "link" C. Ehab and a 2 operation task time limit per test:1 second memory limit per test:256 megabytes input:standa 阅读全文
摘要:
学了这么久,来打一次CF看看自己学的怎么样吧 too young too simple 1152B. Neko Performs Cat Furrier Transform 题目链接:"https://codeforces.com/contest/1152/problem/B" 题目大意:将数字经过 阅读全文
摘要:
学了这么久,来打一次CF看看自己学的怎么样吧 too young too simple 1152A Neko Finds Grapes 题目链接:"https://codeforces.com/contest/1152/problem/A" 题目大意:一堆宝箱和钥匙,一个钥匙开一个宝箱,每个宝箱只能 阅读全文
摘要:
P1008 N的阶乘 mod P OJ:51Nod 链接:"http://www.51nod.com/Challenge/Problem.html ! problemId=1008" 题目描述: 输入N和P(P为质数),求N! Mod P = ? (Mod 就是求模 %) 例如:n = 10, P 阅读全文
摘要:
P1000 A+B OJ:51Nod 链接:"http://www.51nod.com/Challenge/Problem.html ! problemId=1000" 题目描述: 给出2个整数A和B,计算两个数的和。 输入: 2个整数A B,中间用空格分割。(0 using namespace s 阅读全文