摘要: "完美的代价" cpp / 提示:是考的贪心策略 / include using namespace std; int main(){ int n, flag=0, cnt=0; cin n; string str; cin str; for(int i=0; i=i; j ){ if(j==i){ 阅读全文
posted @ 2019-02-03 20:49 A-Little-Nut 阅读(174) 评论(0) 推荐(0) 编辑
摘要: "数的读法" cpp include include include using namespace std; string p[]={"ling", "yi", "er", "san", "si", "wu", "liu", "qi", "ba", "jiu", "shi", "bai", "qi 阅读全文
posted @ 2019-02-03 20:46 A-Little-Nut 阅读(229) 评论(0) 推荐(0) 编辑
摘要: "Sine之舞" cpp include include include using namespace std; int main(){ int n; cin n; vector A(n+1,""); for(int i=1; i0; j ){ str="sin("+str+")"; if(j 1 阅读全文
posted @ 2019-02-03 20:44 A-Little-Nut 阅读(320) 评论(0) 推荐(0) 编辑
摘要: "FJ的字符串" cpp include include using namespace std; int main(){ string str=""; int N; cin N; for(int i=0; i 阅读全文
posted @ 2019-02-03 20:42 A-Little-Nut 阅读(197) 评论(0) 推荐(0) 编辑