nazike_嘉娜
nazike_嘉娜
全部文章
题解
归档
标签
去牛客网
登录
/
注册
nazike_嘉娜的博客
全部文章
/ 题解
(共17篇)
D 最大字符集 1和2特判,其余都为11,101,1001,10001,100001......
D 最大字符集1和2特判,其余都为11,101,1001,10001,100001...... #include<bits/stdc++.h> using namespace std; int main(){ int n; while(cin>>n){ ...
2020-04-18
6
580
F 日期小助手 母亲节在8到14之间变动,父亲节在15到21之间变动
F 日期小助手母亲节在8到14之间变动,父亲节在15到21之间变动,注意闰年对日期变动的影响,以及,2100年不是闰年,刚开始在2100卡死也是够了。 #include<bits/stdc++.h> using namespace std; int main(){ int t; ...
2020-04-18
4
1144
E 美味的序列 边加边减就行,用long long存答案
E 美味的序列边加边减就行,用long long存答案,顺便一提,全加起来再减应该不行,过不了 #include<bits/stdc++.h> using namespace std; typedef long long ll; bool cmp(int a,int b){return ...
2020-04-18
2
516
C 最长非公共子序列 如果两个字符串相等则是-1,否则为最长字符串的长度
C 最长非公共子序列如果两个字符串相等则是-1,否则为最长字符串的长度 #include<bits/stdc++.h> using namespace std; int main(){ string s1,s2; while(cin>>s1>>s2...
2020-04-18
2
409
B 每日一报 把异常温度的都存起来,按要求排序就行
B 每日一报把异常温度的都存起来,按要求排序就行 #include<bits/stdc++.h> using namespace std; struct A{ int t; int num; float te; }a[110]; bool cmp(A b,A c)...
2020-04-18
1
511
A 组队比赛 最小和最大一队就行
A 组队比赛 最小和最大一队就行 #include<bits/stdc++.h> using namespace std; int main(){ int a[5]; while(cin>>a[0]>>a[1]>>a[2]>>...
2020-04-18
4
436
前6签到,“科大讯飞杯”第18届上海大学程序设计联赛春季赛暨高校网络友谊赛
A 组队比赛最小和最大一队就行 #include<bits/stdc++.h> using namespace std; int main(){ int a[5]; while(cin>>a[0]>>a[1]>>a[2]>&...
2020-04-18
5
893
首页
上一页
1
2
下一页
末页