简单的hellow world程序 摘要:解题思路:直接输出非常简单注意事项:不要忘记打星号参考代码:#include<iostream>using namespace std;int main(){ cout<<"**********…… 题解列表 2022年08月21日 0 点赞 1 评论 330 浏览 评分:9.9
这一题倒是比前一道简单 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <malloc.h> main(){ int* p,i=0,exce=0,quil=0,unq=0; p …… 题解列表 2022年08月21日 0 点赞 0 评论 247 浏览 评分:0.0
1151简单的解法(C) 摘要:解题思路:如下注意事项:如果复制,请复制过后检查,我提交时是正确的。参考代码:#include<stdio.h>int main(){ int a,i,c=1;//定义,注意c要初始化。 scanf…… 题解列表 2022年08月21日 0 点赞 1 评论 261 浏览 评分:8.0
1981简单的解法(C) 摘要:解题思路:如下注意事项:如果复制,请复制过后检查,我提交时是正确的。参考代码:#include<stdio.h>int main(){ int M,i,N;//定义 scanf("%d%d",&M,…… 题解列表 2022年08月21日 0 点赞 1 评论 264 浏览 评分:8.0
密码(C语言) 摘要:解题思路:注意事项:比较简单,没什么好主意的参考代码:#include<stdio.h>#include<string.h>#include <ctype.h>#include<math.h>int …… 题解列表 2022年08月21日 0 点赞 0 评论 268 浏览 评分:0.0
1023——————选择排序 摘要: #一行 for i in sorted(list(map(int,input().split()))):print(i) #两行 n=list(map(int,inpu…… 题解列表 2022年08月21日 0 点赞 0 评论 614 浏览 评分:9.9
入门级的莫队,时间复杂度O(n√n) 摘要:解题思路:入门级的莫队,不会的可以看看这篇莫队入门文章:https://www.cnblogs.com/WAMonster/p/10118934.html注意事项:参考代码:#include<bits…… 题解列表 2022年08月21日 0 点赞 0 评论 803 浏览 评分:9.0
编写题解 1121: C语言训练-8除不尽的数(笨办法) 摘要:根据题目要求,设置好判断条件(if语句),然后使用for循环(循环体中未设置判断条件),从大到小取数,代入进去尝试,直到遇到符合所有条件的数,使用break终止跳出循环,并且输出。 ```c //…… 题解列表 2022年08月21日 0 点赞 0 评论 389 浏览 评分:0.0
个人思路,随便看看吧 摘要:解题思路:学会列表的相关操作很重要注意事项:参考代码:def fun(n): l1 = [n] while n != 1: if n % 2 == 0: …… 题解列表 2022年08月22日 0 点赞 0 评论 337 浏览 评分:0.0
题解 1347: 八皇后(c++) 摘要:```cpp #include using namespace std; const int N = 20; int a[N],n,ans = 0; bool tp[3][2*N]; …… 题解列表 2022年08月22日 0 点赞 0 评论 963 浏览 评分:9.9