在开会的武忠祥很孤独
在开会的武忠祥很孤独
全部文章
分类
归档
标签
去牛客网
登录
/
注册
在开会的武忠祥很孤独的博客
全部文章
(共11篇)
题解 | #密码锁#(深度必超时 玛雅人不超时因为字符串短)
#include<iostream> #include<vector> #include<string> #include<algorithm> #include<queue> #include<map> using names...
2023-02-07
0
345
题解 | #神奇的口袋#
#include <iostream> #include <queue> #include <algorithm>//循环里放递归.... using namespace std; int counts=0; void dfs(int a[],int n,in...
2023-01-30
0
163
题解 | #2的幂次方#
#include <iostream> using namespace std;//好递归啊 没做出来 看完发现递归还是没那么好想 void ten_to_two(int n){ char a[100]; int ind=0,i,num=-1; while(n)...
2023-01-30
0
178
题解 | #To Fill or Not to Fill#
#include<iostream>//优先队列!? 还没学过 这个贪心的分类情况也很多 很杂 过后再看 #include<math.h> #include<vector> #include<algorithm> using namespace st...
2023-01-30
0
173
题解 | #大整数的因子#
#include <stdio.h>//字符串因子不会 原来也和进位有关 学到了 #include <string.h> #define N 31 int main() { char str[N]; int c[N]; int mod; in...
2023-01-28
1
229
题解 | #N的阶乘#
#include<stdio.h>//加法字符串会进位了 但乘法第一次听说 明白了 #define width 3000 int main() { int i,j; int k,r,t; int N; int d[width]; while(sca...
2023-01-28
1
192
题解 | #递推数列#
#include<stdio.h>//递归不太行 int main(){ int a[10001],p,q,k; while(scanf("%d%d%d%d%d",&a[0],&a[1],&p,&q,&k)!=EOF){ for(int i=2;i<...
2023-01-28
0
159
题解 | #又一版 A+B#
#include <functional> #include <iostream> #include <string> #include <vector> #include "cmath" using namespace std; int Charto...
2023-01-27
0
142
题解 | #10进制 VS 2进制#
#include <iostream> #include <string> #include <vector> #include <cmath> using namespace std; string Divide(string str, int x)...
2023-01-27
0
141
题解 | #进制转换#
#include <iostream> #include <vector> using namespace std; //这个整除太屌了 string Divide(string str,int x) { int remainder=0; for(int i=...
2023-01-27
0
190
首页
上一页
1
2
下一页
末页