[编程入门]自定义函数之数字后移 (C++代码) 摘要:解题思路: 改变输入输出就可以了 注意事项: for循环的起始要把握好参考代码:#include<bits/stdc++.h>using namespace std;int main(){…… 题解列表 2019年04月17日 0 点赞 0 评论 937 浏览 评分:0.0
P1014 (C++代码)数据有错 摘要: 代码是正确的,区间 Dp。#include <bits/stdc++.h> constexpr auto Inf = 0X3F3F3F3F; 题解列表 2019年04月17日 0 点赞 0 评论 2194 浏览 评分:8.0
P1001 (C++代码)水一下 摘要:解题思路: 又水了一发啊参考代码:#include<bits/stdc++.h> #define hh ios::sync_with_stdio(false),cin.tie(0),cout.…… 题解列表 2019年04月17日 0 点赞 0 评论 1057 浏览 评分:0.0
【蟠桃记】 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream>int main(){ using namespace std; int n,i,sum=1; while(cin.eof()!=1)…… 题解列表 2019年04月17日 0 点赞 0 评论 1178 浏览 评分:0.0
弟弟的作业 (C++代码) 摘要:解题思路:注意事项:很简单的字符串处理问题参考代码:#include<iostream>#include<string>#include<cstring>#include<cstdio>using n…… 题解列表 2019年04月17日 0 点赞 0 评论 767 浏览 评分:0.0
[编程入门]三个数字的排序 (C++代码) 摘要:解题思路: 三个字符排序? 如果对c++有点了解的话,c++的stl里面是有个set容器的,set是STL中一种标准关联容器。它底层使用平衡的搜索树——红黑树实现,插入删除操作时仅仅需要指…… 题解列表 2019年04月16日 0 点赞 0 评论 2374 浏览 评分:0.0
[编程入门]三个数字的排序 (C++代码) 摘要:解题思路: 直接c++sort排序,c++真香注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int a[3];…… 题解列表 2019年04月16日 0 点赞 0 评论 846 浏览 评分:0.0
[编程入门]电报加密 (C++代码) 摘要:解题思路: 逐个逐个读取字符,然后判断是否改变然后输出就AC了注意事项: 没什么好注意的参考代码:#include<bits/stdc++.h>using namespace std;in…… 题解列表 2019年04月16日 0 点赞 0 评论 1181 浏览 评分:0.0
[编程入门]宏定义之找最大数 (C++代码) 摘要:解题思路: 找最大数,c语言选手可以宏定义调用函数,c++可以调用本身的库函数max,c++真香注意事项: 注意格式和要求输出两遍 c++真香参考代码:#include<bits/s…… 题解列表 2019年04月16日 0 点赞 0 评论 983 浏览 评分:0.0
[编程入门]实数的打印 (C++代码) 摘要:解题思路: 嗯 估计没啥说的吧,直接暴力出奇迹,也可以for循环暴力注意事项: 注意空格就行了参考代码:#include<bits/stdc++.h>using namespace std…… 题解列表 2019年04月16日 0 点赞 0 评论 776 浏览 评分:0.0