题解列表
[编程入门]三个数最大值(c++代码)
摘要:解题思路:注意事项:参考代码:#includeusing namespace std;int main(){ int a,b,c,max; cin>>a>>b>>c; if(a>max) max=a;……
这个程度为啥是中等题?
摘要:解题思路:注意事项:参考代码:a,b=map(int,input().split())
c=0
for i in range(a,b+1):
if i%3==1 and i%5==3:
……
c/c++方法 初学者思维
摘要:解题思路:注意事项:参考代码:void input()
{
char c;
int letter = 0, space = 0, digit = 0, other = 0;
while ……
编写题解 1031: [编程入门]自定义函数之字符串反转(函数)
摘要:```c
//自定义函数之字符串反转
#include
#include
void StrInvers(){
char c[100];//定义一个字符型数组
//gets()函数……
编写题解 1032: [编程入门]自定义函数之字符串连接(函数)
摘要:1.gets()函数用来从标准输入设备(键盘)读取字符串直到换行符结束,但换行符会被丢弃,然后在末尾添加'\0'字符。gets(c)将读取的字符串保存到c[]中。
2.puts()函数把字符串输出到……
蓝桥杯2013年第四届真题-买不到的数目(C++)
摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main() { int m, n, i, cnt = 0; ……