首页
题库
公司真题
专项练习
面试题库
在线编程
面试
面试经验
AI 模拟面试
简历
求职
学习
基础学习课
实战项目课
求职辅导课
专栏&文章
竞赛
我要招人
发布职位
发布职位、邀约牛人
更多企业解决方案
AI面试、笔试、校招、雇品
HR免费试用AI面试
最新面试提效必备
登录
/
注册
hello_world5
获赞
1
粉丝
0
关注
0
看过 TA
1
广州番禺职业技术学院
2025
单片机
IP属地:广东
暂未填写个人简介
私信
关注
拉黑
举报
举报
确定要拉黑hello_world5吗?
发布(11)
评论
刷题
收藏
hello_world5
关注TA,不错过内容更新
关注
2024-06-17 10:12
广州番禺职业技术学院 单片机
题解 | #牛牛的单链表求和#
#include <stdio.h> #include <stdlib.h> typedef struct{ int data;//数据域 }DATA; int main() { DATA* p = NULL; int len = 0,i,sum=0; scanf("%d",&len); //根据数组长度申请内存空间 p = (DATA *)calloc(len,sizeof(DATA)); if(p == NULL){ perror("calloc...
0
点赞
评论
收藏
分享
2023-11-23 10:57
广州番禺职业技术学院 单片机
题解 | #补全构造方法#
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); while (scanner.hasNextInt()) { int x = scanner.nextInt(); int y = scanner.nextInt(); int z = scanner.nextInt(); ...
0
点赞
评论
收藏
分享
2023-11-23 10:51
广州番禺职业技术学院 单片机
题解 | #验证年龄#
import java.util.Scanner; public class Main { public static void main(String[] args) { Person p = new Person(); Scanner scanner = new Scanner(System.in); while (scanner.hasNextInt()) { int age = scanner.nextInt(); p.setAge(age); Syste...
0
点赞
评论
收藏
分享
2023-10-19 11:41
广州番禺职业技术学院 单片机
题解 | #牛牛的平面向量#
#include <stdio.h> struct A { int x; int y; }; int main() { int num=0,i=0,resx=0,resy=0; scanf("%d\n",&num); struct A arr[num]; //获取值输入 for(i=0;i<num;i++) { scanf("%d %d",&arr[i].x,&arr[i].y); } //遍历计算输出 ...
0
点赞
评论
收藏
分享
2023-10-19 11:41
广州番禺职业技术学院 单片机
😀 我已经通过这道题! https://www.nowcoder.com/questionTerminal/0e0d472d6a30469ab90d8b0aef7f81fe
0
点赞
评论
收藏
分享
2023-10-19 11:16
广州番禺职业技术学院 单片机
题解 | #牛牛的书#
#include <stdio.h> #include <string.h>//忘记哪个头文件了 不知道这个要不要加 #include <stdlib.h> typedef struct { char buf[24]; int price; }BOOK; int main() { int num=0,i=0,j=0; BOOK temp,*p; scanf("%d",&num); p=(BOOK *)calloc(num,sizeof(BOOK)); //判断是否堆区申请成...
0
点赞
评论
收藏
分享
2023-10-19 10:16
广州番禺职业技术学院 单片机
题解 | #KiKi定义电子日历类#
#include <stdio.h> int main() { int Year,Month,Day; scanf("%d %d %d",&Year,&Month,&Day); printf("%d/%d/%d",Day,Month,Year); return 0; }
0
点赞
评论
收藏
分享
2023-10-19 10:15
广州番禺职业技术学院 单片机
题解 | #KiKi设计类继承#
#include <stdio.h> #define PI 3.14 int rectangle(int length,int width) { return length*width; } float circle(int r) { return PI*r*r; } int square(int sizeLength) { return sizeLength*sizeLength; } int main() { int length,width,r,sizeLength; scanf("%d %d\n%d\n%d"...
0
点赞
评论
收藏
分享
2023-10-18 10:27
广州番禺职业技术学院 单片机
题解 | #牛牛的排序#
#include <stdio.h> void sort(int *array,int n){//冒泡排序 int i,j,temp; for(i=0;i<n;i++){ for(j=i+1;j<n;j++){ if(array[i]>array[j]){ temp=array[i]; array[i]=array[j]; array[j]=temp; } } } ...
0
点赞
评论
收藏
分享
2023-10-17 21:48
广州番禺职业技术学院 单片机
题解 | #牛牛的新数组求和#
#include <stdio.h> #include <stdlib.h> int cal(int *array,int n) { int i=0,res=0; for(i=0;i<n;i++) { res+=*(array+i); } return res; } int main() { int n=0,*arr=NULL,i=0,res=0; scanf("%d",&n); arr=(int *)calloc(n,4); for(i=0;...
0
点赞
评论
收藏
分享
2023-10-17 19:16
广州番禺职业技术学院 单片机
我已经通过这道题! https://www.nowcoder.com/questionTerminal/9a2d212d23f5436c80607d5e68c6d12a
0
点赞
评论
收藏
分享
1
创作者周榜
更多
关注他的用户也关注了:
牛客网
牛客企业服务