首页
题库
公司真题
专项练习
面试题库
在线编程
面试
面试经验
AI 模拟面试
简历
求职
学习
课程
专栏·文章
竞赛
搜索
我要招人
发布职位
发布职位、邀约牛人
更多企业解决方案
在线笔面试、雇主品牌宣传
登录
/
注册
照烧鸡
获赞
48
粉丝
2
关注
2
看过 TA
67
男
麻城理工学校
2026
嵌入式软件工程师
IP属地:重庆
暂未填写个人简介
私信
关注
拉黑
举报
举报
确定要拉黑照烧鸡吗?
发布(16)
刷题
照烧鸡
01-04 22:05
麻城理工学校 畜牧学
#对未来的工作有什么期待# 工作到40存款吃利息,天天玩游戏,看电影吃好吃的,漫无目的的去每一个没去过的地方,保证每天总体收大于支就行
对未来的工作有什么期待
0
点赞
评论
收藏
转发
照烧鸡
2023-08-27 14:44
麻城理工学校 畜牧学
题解 | #表达式求值#
#include <stack> #include <cstring> #include <string> class Solution { public: /** * 代码中的类名、方法名、参数名已经指定,请勿修改,直接返回方法规定的值即可 * * 返回表达式的值 * @param s string字符串 待计算的表达式 * @return int整型 */ bool equal(char a,stack<char> &temp4) { ...
0
点赞
评论
收藏
转发
照烧鸡
2023-08-01 11:11
麻城理工学校 畜牧学
题解 | #牛牛的数组匹配#
#include <iostream> using namespace std; int a[2]; void array_fun(int sum,int n, int m,int *p) { int n_num=1,sum1=0,before_gap=10000; if(n>m) { a[0]=0; a[1]=m; return; } for(int i=0;i<m;i++) { n_num=1; while(n_num!=m+1) ...
0
点赞
评论
收藏
转发
照烧鸡
2023-07-31 21:03
麻城理工学校 畜牧学
题解 | #矩阵交换#
#include <iostream> using namespace std; int num[10][10]; void swap_r(int a ,int b,int m) { a -=1; b -=1; int i=0; while (1) { int temp = num[a][i]; num[a][i]=num[b][i]; num[b][i]=temp; i++; if(i==m) { break; ...
0
点赞
评论
收藏
转发
照烧鸡
2023-07-26 10:26
麻城理工学校 畜牧学
题解 | #N个数之和#
#include <iostream> #include <numeric> using namespace std; int main() { int a[50]; int n,num_tmp,index=0; cin>>n; while (cin>>num_tmp) { a[index]=num_tmp; index++; } int sum = accumulate(&a[0], &a[index], 0);//到a[index]的前一个 ...
0
点赞
评论
收藏
转发
照烧鸡
2023-07-24 22:29
麻城理工学校 畜牧学
题解 | #公务员面试#
#include <algorithm> #include <iomanip> #include <iostream> #include <numeric> #include <list> using namespace std; void calc_aver(list<int> &q1) { q1.sort();//可以使用仿函数或者谓词,仿函数由于创建对象需加()谓词和外部函数调用直接用函数名 q1.pop_back(); q1.pop_front(); int sum = a...
0
点赞
评论
收藏
转发
照烧鸡
2023-07-24 19:49
麻城理工学校 畜牧学
题解 | #简单计算器#
#include <cstdlib> #include <iomanip> #include <iostream> #include <string> using namespace std; int main() { int i=0, b=0,n=0; string calc; string num1,num2,op; getline(cin, calc);//直接cin出现空格会中断,使用getline函数,跳过空格中断,将空格计入字符串 while (calc[i]!='\0') { ...
0
点赞
评论
收藏
转发
照烧鸡
2023-07-24 17:39
麻城理工学校 畜牧学
题解 | #[NOIP2008]ISBN号码#
#include <iostream> #include <cstring> using namespace std; int main() { char a; string b=""; int n=1,sum=0,num=0; while (cin>>a) { if (a>='0'&&a<='9'&&n<=9) { sum +=int(a-'0')*n; n++;//对前面9位数字对应的值进...
0
点赞
评论
收藏
转发
照烧鸡
2023-07-24 14:30
麻城理工学校 畜牧学
题解 | #小乐乐找最大数#
#include <algorithm> #include <iostream> #include <cmath> using namespace std; int main() { int a=0, b=0,n=0,max; while (cin>>b) { if(b>a) { a=b; } } cout<<a; } // 64 位输出请用 printf("%lld")
0
点赞
评论
收藏
转发
照烧鸡
2023-07-24 11:09
麻城理工学校 畜牧学
题解 | #小乐乐改数字#
#include <bitset> #include <iostream> #include <vector> using namespace std; void cout_bin(int num)//十进制转二进制输出 { int a; a = num%2; num = num >>1; if(num==0) { cout<<a; } else { cout_bin(num); cout<<a; } } in...
0
点赞
评论
收藏
转发
照烧鸡
2023-07-24 08:42
麻城理工学校 畜牧学
题解 | #统计成绩#
#include <iomanip> #include <iostream> #include <vector> #include <algorithm> #include <numeric> using namespace std; int main() { int a,num=0; float b,total,aver; vector<float> v1; cin>>a; for(int i=0;i<a;i++) { cin>&g...
0
点赞
评论
收藏
转发
照烧鸡
2023-07-22 19:36
麻城理工学校 畜牧学
题解 | #统计字符串中各字母字符对应的个数#
#include <iostream> // write your code here...... #include <map> using namespace std; int main() { char str[100] = { 0 }; cin.getline(str, sizeof(str)); map<char,int> char_num; //创建map容器,键存储字符,值存储个数 for(int i =0;i<26;i++) { char_num.insert(make_pair...
0
点赞
评论
收藏
转发
照烧鸡
2023-07-15 21:47
麻城理工学校 畜牧学
题解 | #找到数组里的第k大数(C++)#
#include<bits/stdc++.h> using namespace std; int main(){ int n,k; int num_tmp=0; vector<int>a; cin>>n>>k; for(int i=0;i<n;i++) { cin>> num_tmp; a.push_back(num_tmp); } sort(a.begin(),a.end()); cout << *(a.begin()+k-1); // write your code here........
0
点赞
评论
收藏
转发
照烧鸡
2023-07-15 21:25
麻城理工学校 畜牧学
题解 | #多态实现求面积体积#
#include<bits/stdc++.h> using namespace std; class rectangle{ private: int length,width; public: rectangle(int x,int y){ length=x; width=y; } void set(int x,int y){ length=x; width=y; } int getlength(){ return length; } int getwidth(){ return width; } //...
0
点赞
评论
收藏
转发
照烧鸡
2023-07-15 21:07
麻城理工学校 畜牧学
题解 | #构建长方体类#
#include<bits/stdc++.h> using namespace std; class rectangle{ private: int length,width; public: rectangle(int x,int y){ length=x; width=y; } void set(int x,int y){ length=x; width=y; } int area(){ return length*width; } }; class cuboid:public rectangle{ private...
0
点赞
评论
收藏
转发
1
2
工具箱
TA的圈子
暂未加入圈子
TA的圈子
TA的笔记
暂无笔记
TA的笔记
登录
0
天
已登录
0
天
连续登录
0
人
今日访客
牛客网
牛客企业服务