首页
题库
公司真题
专项练习
面试题库
在线编程
面试
面试经验
AI 模拟面试
简历
求职
学习
基础学习课
实战项目课
求职辅导课
专栏&文章
竞赛
搜索
我要招人
发布职位
发布职位、邀约牛人
更多企业解决方案
在线笔面试、雇主品牌宣传
登录
/
注册
Mi4mooLL
获赞
7
粉丝
1
关注
1
看过 TA
4
哈尔滨工业大学(深圳)
2026
深度学习
IP属地:广东
暂未填写个人简介
私信
关注
拉黑
举报
举报
确定要拉黑Mi4mooLL吗?
发布(48)
评论
刷题
收藏
Mi4mooLL
关注TA,不错过内容更新
关注
2024-03-22 17:34
哈尔滨工业大学(深圳) 深度学习
题解 | #小球走过路程计算#
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scanner=new Scanner(System.in); float h=scanner.nextFloat(); int n =scanner.nextInt(); double height; height = (double)h; double sum; sum = heig...
0
点赞
评论
收藏
分享
2024-03-22 17:25
哈尔滨工业大学(深圳) 深度学习
题解 | #统计输入正数个数#
import java.util.*; public class Main { public static void main(String[] args) { int count = 0; Scanner scanner = new Scanner(System.in); int n; int cunt = 0; n = scanner.nextInt(); //write your code here...... while(true) { ...
0
点赞
评论
收藏
分享
2023-03-15 22:09
哈尔滨工业大学(深圳) 深度学习
题解 | #牛牛的单链表求和#
#include<stdio.h> typedef struct node * Node; struct node { int val; Node next; }; int main(void) { int n, m, sum = 0; scanf("%d",&n); Node head, ptr1, ptr2; head = (Node)malloc(sizeof(struct node)); head->next = NULL; head->val = -1; ptr1 = head; ...
0
点赞
评论
收藏
分享
2023-03-07 19:46
哈尔滨工业大学(深圳) 深度学习
题解 | #反转链表#
/** * struct ListNode { * int val; * struct ListNode *next; * }; */ /** * * @param pHead ListNode类 * @return ListNode类 */ struct ListNode* ReverseList(struct ListNode* pHead ) { // write code here struct ListNode* Head2, *ptr, *temp, *fptr; if(pHead == NULL) { ret...
0
点赞
评论
收藏
分享
2023-03-05 12:14
哈尔滨工业大学(深圳) 深度学习
题解 | #【模板】链表#
#include <math.h> #include <stdio.h> #include<stdlib.h> typedef struct listN * Node; struct listN { int data; Node P; }; Node initList(void); void insert(Node L, int x, int y); void delet(Node L, int x); int main(void) { int n, x, y, i, ret; char op[6]; scanf("...
0
点赞
评论
收藏
分享
2023-03-05 10:34
哈尔滨工业大学(深圳) 深度学习
题解 | #【模板】队列#
#include <stdbool.h> #include <stdio.h> #include<string.h> typedef struct Queue * PtrQ; struct Queue{ int x[100000]; int top; int butt; }; PtrQ initQueue(void); _Bool push(PtrQ Q, int x); int pop(PtrQ Q); int front(PtrQ Q); int main(void) { int n, i, ret, t, ans; ...
0
点赞
评论
收藏
分享
2023-03-04 09:57
哈尔滨工业大学(深圳) 深度学习
题解 | #栈的压入、弹出序列#
/** * 代码中的类名、方法名、参数名已经指定,请勿修改,直接返回方法规定的值即可 * * * @param pushV int整型一维数组 * @param pushVLen int pushV数组长度 * @param popV int整型一维数组 * @param popVLen int popV数组长度 * @return bool布尔型 */ #include<stdio.h> struct Stack { int str[10000]; int top; }; typedef struct Stack* Pstack; P...
0
点赞
评论
收藏
分享
2023-03-04 09:48
哈尔滨工业大学(深圳) 深度学习
题解 | #点击消除#
#include <stdio.h> #include<string.h> struct Stack { char str[300000]; int top; }; typedef struct Stack* Pstack; Pstack inistack(void) { Pstack s = (struct Stack *)malloc(sizeof(struct Stack)); s->top = -1; return s; } void push(Pstack s, char x) { s->str[s-...
0
点赞
评论
收藏
分享
2023-02-24 20:59
哈尔滨工业大学(深圳) 深度学习
题解 | #牛牛的单向链表#
#include <stdio.h> typedef struct ListNode* Ptrnode; struct ListNode{ int data; Ptrnode NEXT; }; Ptrnode BuildList(int n, int a[]); void ShowList(Ptrnode P, int n); int main(void) { int n, i; Ptrnode P; scanf("%d\n",&n); int a[n]; for(i = 0; i < n; i++) { scanf...
0
点赞
评论
收藏
分享
2023-01-16 09:36
哈尔滨工业大学(深圳) 深度学习
题解 | #【模板】栈#
#include <stdio.h> #include <string.h> struct Stack { int str[100000]; int top; }; typedef struct Stack* Pstack; Pstack inistack(void) { Pstack s = (struct Stack *)malloc(sizeof(struct Stack)); s->top = -1; return s; } void push(Pstack s, int x) { s->str[s-...
0
点赞
评论
收藏
分享
2023-01-15 16:37
哈尔滨工业大学(深圳) 深度学习
题解 | #小乐乐改数字#
#include<stdio.h> #include<math.h> int main(void) { int a, result = 0,count = 0; scanf("%d",&a); while(a) { int x = 0; x = a % 10; //关键在于把a的每一位数字分离出来 if(x % 2 == 0) { x = 0; } else { x = 1; ...
0
点赞
评论
收藏
分享
2023-01-11 21:20
哈尔滨工业大学(深圳) 深度学习
题解 | #数字的十六进制#
n = int(input()) print(hex(n))
0
点赞
评论
收藏
分享
2023-01-11 11:29
哈尔滨工业大学(深圳) 深度学习
题解 | #增加元组的长度#
n = tuple(i for i in range(1,6)) print(n) print(len(n)) n2 = tuple(i for i in range(6,11)) print(n + n2) print(len(n + n2))
0
点赞
评论
收藏
分享
2023-01-10 21:19
哈尔滨工业大学(深圳) 深度学习
题解 | #提前结束的循环#
n = int(input()) list = [3, 45, 9, 8, 12, 89, 103, 42, 54, 79] for i in list: if i == n: break print(i)
0
点赞
评论
收藏
分享
2023-01-10 11:21
哈尔滨工业大学(深圳) 深度学习
题解 | #牛牛的绩点#
g = {'A':4,'B':3,'C':2,'D':1,'F':0} a1 = [] a2 = [] n1 = input() while n1 != "False": n2 = int(input()) a1.append(n2) a2.append(g[n1] * n2) n1 = input() ans = sum(a2) / sum(a1) print("%.2f"%ans)
0
点赞
评论
收藏
分享
1
2
3
4
创作者周榜
更多
关注他的用户也关注了:
牛客网
牛客企业服务