在考古的小鱼干很有气魄
在考古的小鱼干很有气魄
全部文章
分类
归档
标签
去牛客网
登录
/
注册
在考古的小鱼干很有气魄的博客
全部文章
(共84篇)
题解 | #编排字符串#
#include <bits/stdc++.h> using namespace std; int main(){ vector<string> v; int m; string tmp; cin>>m; while(m--){ cin>&g...
2023-03-14
1
300
题解 | #日期累加#
#include <bits/stdc++.h> using namespace std; int a1[] = {0,31,28,31,30,31,30,31,31,30,31,30,31}; bool isrun(int y){ if((y % 4 == 0 && y % 1...
2023-03-14
1
266
题解 | #日期类#
#include <bits/stdc++.h> using namespace std; int a1[] = {0,31,28,31,30,31,30,31,31,30,31,30,31}; int a2[] = {0,31,29,31,30,31,30,31,31,30,31,3...
2023-03-14
1
368
题解 | #多项式的值#
#include <bits/stdc++.h> using namespace std; int main(){ int data[11]; int m,n,x; cin>>m; while(m--){ cin>>n; for(int i =...
2023-03-13
1
342
题解 | #计算天数#
#include <bits/stdc++.h> #define MAX 20 using namespace std; int a1[13] = {0,31,28,31,30,31,30,31,31,30,31,30}; int a2[13] = {0,31,29,31,30,31,...
2023-03-13
1
318
题解 | #学生查询#
#include <iostream> #include <algorithm> #define MAX 21 using namespace std; typedef struct{ int no; string name; string gender; int ...
2023-03-13
2
373
题解 | #围圈报数#
#include <iostream> #include <list> using namespace std; int main(){ int m,n,tmp; cin>>m; while(m--){ list<int> l; ...
2023-03-12
2
319
题解 | #分段函数#
#include <iostream> #include <stack> using namespace std; float fun1(float x){ return -x + 2.5; } float fun2(float x){ return 2-1.5*(x-...
2023-03-12
1
394
题解 | #堆栈的使用#
#include <iostream> #include <stack> using namespace std; int main(){ int n; string str,data; while(cin>>n){ stack<string...
2023-03-12
2
343
题解 | #搬水果#
#include <bits/stdc++.h> #define MAX 10000 using namespace std; int main(){ int n,data[MAX]; while(cin>>n){ if(n == 0) break; ...
2023-03-12
4
294
首页
上一页
1
2
3
4
5
6
7
8
9
下一页
末页