next_permutation全排序 摘要:```cpp #include //next_permutation全排序 using namespace std; int main() { int n,len=0; cin>…… 题解列表 2022年11月18日 0 点赞 0 评论 223 浏览 评分:0.0
1022: [编程入门]筛选N以内的素数 摘要:解题思路:注意事项:参考代码: int a=1; int n; int t=0; scanf("%d", &n); for (int i = 1; i <= n; i++) { t = 0;//防止…… 题解列表 2022年11月19日 0 点赞 0 评论 174 浏览 评分:0.0
自守数问题之满满的套路(格式+数据范围) 摘要:解题思路: 题前小磕:这一题真是满满的套路啊,足足被卡了半个多小时,第一次错误是答案少了两个;第二次是格式错误。但我好不容易AC了这一题,我必须写个题解给大家避避坑。 …… 题解列表 2022年11月19日 0 点赞 0 评论 302 浏览 评分:0.0
C语言 宏定义的练习& 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#define remainder(a,b) printf("%d",a%b) int main(){ int a…… 题解列表 2022年11月19日 0 点赞 0 评论 154 浏览 评分:0.0
1152题解c语言 摘要:解题思路:注意事项:参考代码:方法一#include <stdio.h>#include <math.h>int main(){ int m,i; double t=1; scanf("%d",&m)…… 题解列表 2022年11月19日 0 点赞 0 评论 177 浏览 评分:0.0
C语言 宏定义练习之三角形面积& 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>#define S_(x,y,z) (x+y+z)/2#define area(S,a,b,c) sqr…… 题解列表 2022年11月19日 0 点赞 0 评论 202 浏览 评分:0.0
C语言 宏定义之闰年判断& 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>#define LEAP_YEAR(y) if(((y%4==0)&&(y%100!=0))||(y%4…… 题解列表 2022年11月19日 0 点赞 0 评论 134 浏览 评分:0.0
C语言 实数的打印& 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ void out_real_num_format(double a); double a; s…… 题解列表 2022年11月19日 0 点赞 0 评论 113 浏览 评分:0.0
很简单· 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ int i = 0 ,j=0; char arr [100]; gets(a…… 题解列表 2022年11月19日 0 点赞 0 评论 169 浏览 评分:0.0
c语言的一种思路 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<limits.h>#include<math.h>#include<stdlib.h>int main(){ i…… 题解列表 2022年11月19日 0 点赞 0 评论 170 浏览 评分:0.0