
ccf练习
文章平均质量分 50
qq_42910523
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
ccf刷题- 学生排队(c++)100分题解
#include <iostream> using namespace std; // const int N = 1000; struct Node { int index; int pos; } stu[N]; int main(int argc, char** argv) { int n,m,p,q; int temp...原创 2018-10-23 20:26:55 · 539 阅读 · 1 评论 -
ccf刷题 俄罗斯方块c++ 50分
写俄罗斯方块的程序只有50分 逻辑也是比较坑坑巴巴 干干巴巴麻麻赖赖的一点都不圆润 有没有大神看到的可以指导一下的哦 嘤嘤嘤 #include <iostream> /* run this program using the console pauser or add your own getch, system("pause") or input loop */原创 2018-11-03 10:03:50 · 367 阅读 · 0 评论 -
ccf刷题 isbn号码 100分题解 c++
写的不够简练 字符串和数值类型的转换不够圆润 除了sstream头文件下的stringstream方法还有更加简单的利用ascall码值进行转换的方法 不过就当学习了一些处理string的方法吧 涉及到string.replace string.find string.substr 代码如下 #include <iostream> #include <string> #i...原创 2018-11-04 19:21:13 · 635 阅读 · 0 评论