渐变绘画

发布于:2022/01/15 更新于:2022/01/15 504
0 0 0
Scratch作者 昱辰
昱辰

Scratch作品简介

按住鼠标可绘画//非正式版

Scratch操作说明

按住鼠标可绘画//按0清空
查看积木

评论区

登录之后才能评论Scratch作品哦
GC·Code2 年前

......

GC·Code2 年前

#include<iostream> #include<algorithm> using namespace std; string a[105]; int n,m; bool cmp1(string x,string y){ if(x.size()!=y.size()) return x.size()<y.size(); return x<y; } bool cmp2(string x,string y){ return x+y<y+x; } int main(){ cin>>n>>m; for(int i=1;i<=n;i++){ cin>>a[i]; } sort(a+1,a+n+1,cmp1); sort(a+1,a+m+1,cmp2); for(int i=1;i<=m;i++) cout<<a[i]; return 0; }

GC·Code2 年前
@GC·Code

某某代码

GC·Code2 年前

做个跑酷