随笔分类 -  哈理工多校算法赛

摘要:A 逆序数:https://www.nowcoder.com/acm/contest/77/A #include <bits/stdc++.h> using namespace std; int main() { int n; while(~scanf("%d",&n)&&n) { int arr[ 阅读全文
posted @ 2018-03-16 21:51 _Jessie 阅读(209) 评论(0) 推荐(0)
摘要:A 石油采集:https://www.nowcoder.com/acm/contest/76/A #include <bits/stdc++.h> using namespace std; char a[55][55]; int ans1,ans2,ans,n; void DFS(int x,int 阅读全文
posted @ 2018-03-16 21:16 _Jessie 阅读(131) 评论(0) 推荐(0)
摘要:A 不凡的夫夫:https://www.nowcoder.com/acm/contest/75#question #include <bits/stdc++.h> #define PI 3.1415926535 using namespace std; int main() { int t; sca 阅读全文
posted @ 2018-03-16 20:57 _Jessie 阅读(145) 评论(0) 推荐(0)
摘要:A 吐泡泡:https://www.nowcoder.com/acm/contest/74/A #include <bits/stdc++.h> using namespace std; int main() { char ch[105]; while(gets(ch)) { int lch=str 阅读全文
posted @ 2018-03-16 20:35 _Jessie 阅读(160) 评论(0) 推荐(0)
摘要:题目链接:https://www.nowcoder.com/acm/contest/67#question 来源:牛客网 A 吃鸡 #include <bits/stdc++.h> using namespace std; int main() { int n,m; while(~scanf("%d 阅读全文
posted @ 2018-01-22 22:01 _Jessie 阅读(186) 评论(0) 推荐(0)