真新镇小智要成为宝可梦大师
真新镇小智要成为宝可梦大师
全部文章
分类
题解(2)
归档
标签
去牛客网
登录
/
注册
真新镇小智要成为宝可梦大师的博客
全部文章
(共42篇)
题解 | 约瑟夫环
class Node: No: int Next = None # 链表下一个 Pre = None # 链表上一个 def __init__(self, no) -> None: self.No = no def CreatLink(...
2025-07-28
0
31
题解 | 二维斐波那契数列
Mod = 10**9+7 i,j = map(int,input().split()) if i==1 and j==1: print(1) else: ret = [[1]*j]*i for x in range(1,i): for y in range(...
2025-07-28
0
27
题解 | 明天星期几?
print((int(input()))%7+1)
2025-07-27
0
25
题解 | 学生查询
#include <iostream> #include <map> #include <vector> using namespace std; struct student { int no; string name; string s...
2025-04-07
0
45
题解 | 点的距离
#include <bits/stdc++.h> using namespace std; class CPoint{ public: int x,y; CPoint(int x,int y){ this->x=x; this->...
2025-04-07
0
44
题解 | 日期累加
#include <iostream> using namespace std; int days[] = { 0,31,28,31,30,31,30,31,31,30,31,30,31 }; int main() { int year, month, day, n, cnt; ...
2025-04-07
0
44
题解 | 单词识别
#include <iostream> #include <map> using namespace std; void f(char &c){ if(c>='A'&&c<='Z') c+=32; } bool is...
2025-04-07
0
35
题解 | 剩下的树
#include <bits/stdc++.h> using namespace std; int main() { int n,m; int a,b; while(cin>>n>>m){ vector<bool&g...
2025-03-28
0
56
题解 | 最长&最短文本
#include <iostream> #include <vector> using namespace std; int main() { vector<string>Long, Short; Long.push_back("&qu...
2025-03-24
0
35
题解 | 字符串连接
#include <iostream> using namespace std; int main() { string a, b; while (cin >> a >> b) { // 注意 while 处理多个 case co...
2025-03-24
0
36
首页
上一页
1
2
3
4
5
下一页
末页