首页
题库
面试
求职
学习
竞赛
More+
所有博客
搜索面经/职位/试题/公司
搜索
我要招人
去企业版
登录 / 注册
nbgao
杭州电子科技大学
2022届
Java工程师
Studying & Thinking
关注
私信
加入黑名单
举报TA
TA的博客
首页
刷题
圈子
项目
笔记
基本资料
真题试卷
在线编程
心理测试
回答的问题(1058)
最小排列
1
#include <bits/stdc++.h> using namespace std; int a[100001], b[100001]; int main(){ int n, x; scanf("%d", &n); for(in...
发表于 2020-09-20 08:38:30
被 7 整除
1
#include <bits/stdc++.h> using namespace std; int F(int x){ int cnt = 0; while(x){ x /= 10; cnt++; } return cnt...
发表于 2020-09-18 08:33:12
硬币兑换
1
#include <bits/stdc++.h> using namespace std; int main(){ int n, x=0, y=0, a[8] = {0, 1, 2, 5, 10, 20, 50, 100}, s[8]={0}; scanf("...
发表于 2020-09-17 00:53:40
双袋购物
2
#include <bits/stdc++.h> using namespace std; int main(){ int n, A, B, Max=0; scanf("%d%d%d", &n, &A, &B); in...
发表于 2020-09-16 13:46:30
友好城市
2
#include <bits/stdc++.h> using namespace std; int n, k, a[101][101], b[101], Min=INT_MAX; void DFS(int cnt, int s){ if(cnt==2*k){ ...
发表于 2020-09-15 00:12:03
公约数
1
#include <bits/stdc++.h> using namespace std; int gcd(int x, int y){ int t = x%y; while(t != 0){ x = y; y = t; ...
发表于 2020-09-14 01:44:38
超链接
1
#include <bits/stdc++.h> using namespace std; int main(){ int n, m; scanf("%d", &n); map<string, bool> mp; ...
发表于 2020-09-13 00:49:40
抽牌
1
#include <bits/stdc++.h> using namespace std; int main(){ int n, P, Q; scanf("%d%d%d", &n, &P, &Q); int a[n];...
发表于 2020-09-12 13:41:41
K 的倍数
1
#include <bits/stdc++.h> using namespace std; int main(){ int n, k, Max=0; scanf("%d", &n); long a[n+1]={0}; for(...
发表于 2020-09-11 13:18:26
重要节点
1
#include <bits/stdc++.h> using namespace std; int main(){ int n, m, u, v, cnt=0; scanf("%d%d", &n, &m); vector<...
发表于 2020-09-10 13:01:25
首页
上一页
5
6
7
8
9
10
11
12
下一页
末页
扫描二维码,关注牛客网
意见反馈
下载牛客APP,随时随地刷题