yigu2468
yigu2468
全部文章
分类
归档
标签
去牛客网
登录
/
注册
yigu2468的博客
全部文章
(共47篇)
题解 | #高精度整数加法#
#include <iostream> using namespace std; string bigIntAdd(string s1,string s2){ string res; int i=s1.size()-1,j=s2.size()-1; int a...
2024-03-18
0
158
题解 | #记负均正II#
#include <iostream> using namespace std; int main(){ string str; int num,count=0,n=0,sum=0; double mean; while (getline(cin,st...
2024-03-18
0
165
题解 | #购物单#
#include <iostream> using namespace std; struct attach{ int value; int priority; attach():value(0),priority(0){} attach(int v,i...
2024-03-18
0
174
题解 | #进制转换#
#include <iostream> #include <string> using namespace std; string bigIntMod(string num,int h){ int x; int n = num.size(); if...
2024-03-14
1
189
题解 | #代理服务器#
#include <iostream> #include <map> using namespace std; int main(){ int n,m,count=0; while (cin>>n){ map<string...
2024-03-14
0
157
题解 | #鸡兔同笼#
#include <iostream> using namespace std; int main(){ int a,low,high; while (cin>>a){ if (a%2==1){ low = hig...
2024-03-14
0
152
题解 | #还是畅通工程#
#include <iostream> #include <vector> #include <algorithm> using namespace std; struct edge{ int x; int y; int weight;...
2024-03-13
0
175
题解 | #开门人和关门人#
#include <iostream> #include <map> using namespace std; int main(){ int n; string sign,start,end; map<string,string> s...
2024-03-11
0
164
题解 | #查找学生信息#
#include <iostream> #include <map> using namespace std; struct student{ string name; string sex; int age; student():name...
2024-03-10
0
160
题解 | #复数集合#
#include <iostream> #include <queue> #include <string> using namespace std; struct plurality{ int num; int i; pluralit...
2024-03-10
0
186
首页
上一页
1
2
3
4
5
下一页
末页