摘要:
代码 #include <iostream> #include <cstdio> #include <algorithm> using namespace std; long a[100002]; bool cmp1(long a,long b){ return a>b; } int main() 阅读全文
posted @ 2022-07-11 15:45
qwasdasd
阅读(19)
评论(0)
推荐(0)
摘要:
易错点 每天的骑车距离最大为1的情况下,爱丁顿数 E为0 代码 #include <iostream> #include <cstdio> #include <algorithm> using namespace std; long a[100002]; bool cmp1(long a,long 阅读全文
posted @ 2022-07-11 15:34
qwasdasd
阅读(52)
评论(0)
推荐(0)
摘要:
注意点 判断素数问题 代码 #include <iostream> #include <cstdio> #include <string> using namespace std; int ran[10001]; int natu[10001]; bool nat(int a){ if(a%2==0 阅读全文
posted @ 2022-07-11 13:30
qwasdasd
阅读(29)
评论(0)
推荐(0)
摘要:
代码 #include <iostream> #include <cstdio> #include <string> using namespace std; string s[102]; int point[102]; int count[102]; int rcount[102]; int st 阅读全文
posted @ 2022-07-11 12:59
qwasdasd
阅读(25)
评论(0)
推荐(0)
摘要:
关键 二进制的算法 代码 #include <iostream> #include <cstdio> #include <string> using namespace std; int main() { string s; int cnt=0; int zcnt=0,ocnt=0; getline 阅读全文
posted @ 2022-07-11 12:20
qwasdasd
阅读(27)
评论(0)
推荐(0)
摘要:
代码 #include <iostream> #include <cstdio> using namespace std; int main() { int n; int a; int cnt=0; cin>>n; for(int i=0;i<n;i++){ cin>>a; cnt+=a*11*(n 阅读全文
posted @ 2022-07-11 12:00
qwasdasd
阅读(30)
评论(0)
推荐(0)
摘要:
关键 双端队列的使用 数值和字符串的相互映射(有重复值) 代码 #include <iostream> #include <cstdio> #include <string> #include <set> #include <deque> #include <algorithm> using nam 阅读全文
posted @ 2022-07-11 11:50
qwasdasd
阅读(25)
评论(0)
推荐(0)

浙公网安备 33010602011771号