摘要: https://ac.nowcoder.com/acm/contest/998/C 阅读全文
posted @ 2019-10-31 21:26 AKPower 阅读(345) 评论(0) 推荐(0) 编辑
摘要: #include #include #include #include #include #include #include #include #include using namespace std; typedef long long ll; map m; int main(){ string s; char c; while(1){ scanf("%c",&c); ... 阅读全文
posted @ 2019-10-30 23:38 AKPower 阅读(130) 评论(0) 推荐(0) 编辑
摘要: #include<stdio.h> #include<iostream> #include<algorithm> #include<string.h> #include<vector> #include<cmath> #include<string> #include<map> #include<queue> #include<set> using namespace std; typedef l 阅读全文
posted @ 2019-10-30 23:34 AKPower 阅读(154) 评论(0) 推荐(0) 编辑
摘要: Description FHC最近感觉自己体重有点超标了,决定要减肥 FHC现在的体重为a公斤,他想减到b公斤。(a>b) 他每天减肥的方式有两种,一种是节食减肥 每天可以减1公斤。一种是运动减肥,每天可减a%c[i] 公斤。(c是给定的一个数组,c[i]表示c中任意一个数,a是当前FHC的体重,是 阅读全文
posted @ 2019-09-22 22:47 AKPower 阅读(173) 评论(0) 推荐(0) 编辑
摘要: 链接 submit B. Zero Array time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output B. Zero Array tim 阅读全文
posted @ 2019-08-10 11:42 AKPower 阅读(290) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2019-08-09 10:44 AKPower 阅读(124) 评论(0) 推荐(0) 编辑
摘要: 题目链接 hdu-5775 P is a permutation of the integers from 1 to N(index starting from 1). Here is the code of Bubble Sort in C++. for(int i=1;i<=N;++i) for 阅读全文
posted @ 2019-08-09 10:39 AKPower 阅读(209) 评论(0) 推荐(0) 编辑
摘要: 提交链接 Data structure is one of the basic skills for Computer Science students, which is a particular way of storing and organizing data in a computer s 阅读全文
posted @ 2019-08-09 10:05 AKPower 阅读(223) 评论(0) 推荐(0) 编辑
摘要: 题目链接 At the entrance to the university, there is a huge rectangular billboard of size h*w (h is its height and w is its width). The board is the place 阅读全文
posted @ 2019-08-07 20:02 AKPower 阅读(144) 评论(0) 推荐(0) 编辑
摘要: 题目链接: You are given a picture consisting of nn rows and mm columns. Rows are numbered from 11 to nn from the top to the bottom, columns are numbered f 阅读全文
posted @ 2019-08-01 20:48 AKPower 阅读(182) 评论(0) 推荐(0) 编辑