C语言网兼职私活列表 摘要:C语言网成立于2014年初,至今积累了大量的用户,除了提供丰富多样化的学习资源之外,有很多用户包括C语言网自身在内都有一些付费需求,因此整理公布出来,方便大家对接,有兴趣的小伙伴可以联系网站管理员具体…… 文章列表 2023年08月18日 3 点赞 0 评论 6350 浏览 评分:6.8
精品文章 求x的n次幂、算数平方根和绝对值库函数的应用 摘要:以下库函数都在头文件<math.h>中 一、求x的n次幂并返回。pow()库函数 原型声明为:double pow(double x, double n);pow(a, x):a的x次方,a和x是…… 文章列表 2023年08月16日 0 点赞 0 评论 843 浏览 评分:9.9
精品文章 C 将数组传递给函数 摘要:在一些复杂的程序中,我们需要对数组进行多次同样的处理,往往会选择将处理方式单独的写在一个函数里,然后将数组作为参数传递给函数 ,这时,在声明函数时,函数的形式参数往往只能为以下三种:第一种:定义了数组…… 文章列表 2023年08月15日 0 点赞 0 评论 360 浏览 评分:9.9
石头剪刀布的思考 摘要:#include<stdio.h>#include<math.h>int main(){ int N,NA,NB; int a[100],b[100]; int A[100],B[1…… 文章列表 2023年08月13日 0 点赞 0 评论 188 浏览 评分:0.0
朴素 Dijkstra算法 (acwing) 摘要:/* 3 3 1 2 2 2 3 1 1 3 4 */ //找到到达起点的最短路 #include& 文章列表 2023年08月12日 0 点赞 0 评论 127 浏览 评分:9.9
题目 1129: C语言训练-排序问题<2> 摘要:#include<bits/stdc++.h> using namespace std; int main() { int a[10]; for(int i=0;i<10;i…… 文章列表 2023年08月11日 0 点赞 0 评论 159 浏览 评分:9.9
题目 1128: C语言训练-排序问题<1>(简便) 摘要:#include<bits/stdc++.h>using namespace std;int main(){ int a[4]; for(int i=0;i<4;i++) cin>>a[i…… 文章列表 2023年08月11日 0 点赞 0 评论 153 浏览 评分:9.9
题目 1505: 蓝桥杯算法提高VIP-单词个数统计(简便快捷) 摘要:#include<iostream>using namespace std;int main(){ string a; int b=0; while(cin>>a) b++; …… 文章列表 2023年08月11日 0 点赞 0 评论 129 浏览 评分:9.9
C语言程序设计教程(第三版)课后习题例6.5的求和训练(用c语言写的) 摘要:解题思路:注意题目的保留两位小数点,一般用float或者double。题目要求三位数的和,这里可以用for或者while。实例代码:# include <stdio.h># include <math…… 文章列表 2023年08月10日 0 点赞 0 评论 141 浏览 评分:0.0