摘要: #include<iostream> #include<algorithm> #include<cstring> using namespace std; int main(){ char a[205]; scanf("%s",a); int len = strlen(a); sort(a,a+le 阅读全文
posted @ 2021-12-03 21:01 智人心 阅读(26) 评论(0) 推荐(0)
摘要: #include<iostream> #include<algorithm> using namespace std; int cmp(long long p,long long q){ if(p>q)return true; return false; } int main(){ int n,i, 阅读全文
posted @ 2021-12-03 20:53 智人心 阅读(53) 评论(0) 推荐(0)
摘要: #include<iostream> #include<cstring> using namespace std; char ch[15][15]; int data[15][15],hasExit,hasLoop; int r,c,colNum,exitStep,loopStep; int mai 阅读全文
posted @ 2021-12-03 20:11 智人心 阅读(36) 评论(0) 推荐(0)
摘要: #include<iostream> #include<cmath> using namespace std; int main(){ double n,p,k; while(scanf("%lf%lf",&n,&p)==2){ k = pow(p,1.0/n); printf("%.0lf\n", 阅读全文
posted @ 2021-12-03 19:41 智人心 阅读(26) 评论(0) 推荐(0)