03 2020 档案

摘要:一.解题 1.Majestic 10 题意:几个大于十的,最水的,感觉 AC代码: #include<iostream>#define N 10using namespace std;int main(){ int n,i,a[N]; cin>>n; while(n--){ int count=0; 阅读全文
posted @ 2020-03-31 18:09 CHUNIN 阅读(181) 评论(0) 推荐(0)
摘要:1.J Jazz it Up! 此题题目要求: n*m因子中不能含有平方形式,因为题目中已经说明n是一个无平方因子的数, 那么只要m是无平方因子的数,并且n和m没有共同的因子即可。 根据算术基本定理,n可以分解成若干个质数的积,所以m就直接可以是非n的因子的一个质数。 #include<bits/s 阅读全文
posted @ 2020-03-25 11:34 CHUNIN 阅读(149) 评论(0) 推荐(0)
摘要:一.解题 1.Greetings! 题意:字符串中的e ac代码: #include<iostream>#include<string>using namespace std;int main(){string s;int i,n,count=0,w;cin>>s;if(s=="Later!"){c 阅读全文
posted @ 2020-03-15 21:15 CHUNIN 阅读(151) 评论(0) 推荐(0)