上一页 1 ··· 22 23 24 25 26
摘要: 点击查看代码 #include<iostream> using namespace std; string a, b; int main() { getline(cin, a); getline(cin, b); for (char& c : a) c = tolower(c); for (char 阅读全文
posted @ 2022-04-13 23:24 wKingYu 阅读(32) 评论(0) 推荐(1) 编辑
摘要: 点击查看代码 #include<iostream> using namespace std; const int N = 110; int n, m; int dx[] = {-1, 0, 1, 0}, dy[] = {0, 1, 0, -1}; int x = 0, y = 0, d = 1, q 阅读全文
posted @ 2022-04-13 20:28 wKingYu 阅读(25) 评论(0) 推荐(0) 编辑
摘要: 点击查看代码 #include<iostream> using namespace std; const int N = 1e6 + 10; int n; int a[N]; void quick_sort(int l, int r) { if (l >= r) return; int i = l 阅读全文
posted @ 2022-04-13 15:13 wKingYu 阅读(22) 评论(0) 推荐(1) 编辑
摘要: 点击查看代码 #include<bits/stdc++.h> using namespace std; int data1, data2, ans = 0, sum; int d[13] = {0, 31, 29, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31}; i 阅读全文
posted @ 2022-04-12 13:10 wKingYu 阅读(179) 评论(0) 推荐(1) 编辑
摘要: 点击查看代码 #include<bits/stdc++.h> using namespace std; const int N = 1e6 + 10; int m, n, ans = 0; int lists[500]; int steps[25]; int machine[25][N]; int 阅读全文
posted @ 2022-04-10 15:24 wKingYu 阅读(115) 评论(0) 推荐(0) 编辑
摘要: 点击查看代码 #include<bits/stdc++.h> using namespace std; long long n, m, total, sum1, sum2; int main() { cin >> n >> m; int min_mn = min(m ,n); for (int i 阅读全文
posted @ 2022-04-10 14:57 wKingYu 阅读(96) 评论(0) 推荐(0) 编辑
上一页 1 ··· 22 23 24 25 26