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 · 453 阅读 · 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 · 324 阅读 · 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 · 525 阅读 · 0 评论