06 2020 档案

摘要:#include<iostream>#include<algorithm>#include<cstring>#include<cstdio>using namespace std;const int N=1e6+10;int q[N]= {0},temp[N]={0};void merge_sort 阅读全文
posted @ 2020-06-13 11:58 SmileSunlight 阅读(111) 评论(0) 推荐(0)
摘要:给定n组ai,bi , pi,对于每组数据,求出ai^bi mod pi 的值。 #include<iostream>#include<cstdio>typedef long long ll;using namespace std;int qmi(int a,int b,int p){ int re 阅读全文
posted @ 2020-06-09 11:10 SmileSunlight 阅读(102) 评论(0) 推荐(0)
摘要:l 是整除的符号,若整数a除以非零整数b,商为整数,且余数为零, 我们就说a能被b整除(或说b能整除a) 阅读全文
posted @ 2020-06-09 10:57 SmileSunlight 阅读(543) 评论(0) 推荐(0)