乌龟狗的齐天大圣
乌龟狗的齐天大圣
全部文章
分类
归档
标签
去牛客网
登录
/
注册
乌龟狗的齐天大圣的博客
全部文章
(共17篇)
题解 | #整数反转#
//整数反转 #include <cstdio> #include <stack> using namespace std; int main(){ int n; stack <int> stack1,stack2; scanf("%d...
2023-02-25
0
338
题解 | #二进制数#
#include <cstdio> #include <stack> using namespace std; int main(){ stack <int>stk1; int n; while (scanf("%d",&n) !=EO...
2023-02-22
0
290
题解 | #堆栈的使用#
#include <cstdio> #include <stack> #include <iostream> using namespace std; int main(){ int n; stack<int>use1; c...
2023-02-20
0
285
题解 | #完数VS盈数#
#include <cstdio> #include <vector> using namespace std; vector<int> numberE; vector<int> numberG; int Sum(int x){ int ...
2023-02-20
0
0
题解 | #小白鼠排队#
//习题3.3 小白鼠排队 #include <cstdio> #include <algorithm> #include <iostream> using namespace std; struct Mouse{ int weight; str...
2023-02-20
0
277
题解 | #整数奇偶排序#
#include <cstdio> #include <algorithm> using namespace std; bool comp(int x ,int y){ if(x%2==1 && y%2==0){ return true; }...
2023-02-20
0
245
题解 | #特殊排序#
#include <cstdio> #include <algorithm> using namespace std; int main(){ int n; while(scanf("%d\n",&n) != EOF){ int arr[n];...
2023-02-20
1
323
题解 | #成绩排序#
#include <cstdio> #include <iostream> #include <algorithm> using namespace std; struct Student{ int number; int score; }; ...
2023-02-17
1
269
题解 | #排序#
#include <iostream> #include <cstdio> #include <algorithm> using namespace std; int main(){ int n; while(scanf("%d",&n) != E...
2023-02-17
1
326
题解 | #xxx定律#
#include <stdio.h> int main(){ int n; while(scanf("%d",&n) != EOF){ int num=0; while(n != 1){ if (n%2 == 0)...
2023-02-17
1
289
首页
上一页
1
2
下一页
末页