随笔分类 - 数学-组合数学
摘要:A-Uint47 calculator(快速乘) 题意: 定义一堆变量然后进行加减乘除运算 思路: 这题难的地方在乘法,会超出long long的范围,所以要用到快速乘(原理跟快速幂类似) #include<iostream> #include<algorithm> #include<vector>
阅读全文
摘要:目录: 1.CodeCraft-20 (Div. 2) 3.4 2.Codeforces Round #626 (Div2) 3.7 3.2020 SWJTU-ICPC Training Round #1(13年浙江省赛) 3.8 4. Educational Codeforces Round 83
阅读全文
摘要:A - Beginner(模拟) #include<iostream> #include<algorithm> #include<vector> using namespace std; typedef long long ll; int main() { ll n,r; cin>>n>>r; if
阅读全文

浙公网安备 33010602011771号