05 2023 档案

摘要:1. #include<iostream>using namespace std;int main(){ float a = 0;//开始 float b = 0;//结束 float c = 0;//每公里价格 cout << "请输入每公里的价格:"; cin >> c; cout << "MI 阅读全文
posted @ 2023-05-24 18:29 Verneyyx 阅读(21) 评论(0) 推荐(0) 编辑
摘要:1. #include<iostream>#include<cstring>#include<algorithm>using namespace std;char tran(char c){ return (int)(c-'A'-4)>0?(c-5):(c+21);}string sd,str,ed 阅读全文
posted @ 2023-05-23 19:01 Verneyyx 阅读(5) 评论(0) 推荐(0) 编辑
摘要:1. #include<bits/stdc++.h>using namespace std;int a[11],i;int main(){ for(i=1;i<=10;i++)cin>>a[i]; sort(a+1,a+10+1); for(i=10;i>=1;i--) if(a[i]%2!=0)c 阅读全文
posted @ 2023-05-22 22:02 Verneyyx 阅读(14) 评论(0) 推荐(0) 编辑
摘要:1. #include <iostream>#include <vector> using namespace std; int n; void solve(){ cin >> n; vector<string> vec; for (int i = 0; i < n; i ++) { string 阅读全文
posted @ 2023-05-20 22:41 Verneyyx 阅读(8) 评论(0) 推荐(0) 编辑
摘要:#include<iostream>#include<cstring>using namespace std;const int N=1010,mod=998244353;int g[N][N],min1[N][N],min2[N][N],max1[N][N],max2[N][N];int n,m, 阅读全文
posted @ 2023-05-20 22:40 Verneyyx 阅读(11) 评论(0) 推荐(0) 编辑
摘要:#include<iostream> #include<fstream> using namespace std; class Dog{ public: int getdogage(){ return age; } int getdogweight(){ return weight; } void 阅读全文
posted @ 2023-05-18 22:43 Verneyyx 阅读(13) 评论(0) 推荐(0) 编辑
摘要:1. #include<bits/stdc++.h>using namespace std;bool book[10000001];int prime[100001];int t=1;void Prime(int x){ memset(book,0,sizeof(book)); for(int i= 阅读全文
posted @ 2023-05-15 18:32 Verneyyx 阅读(15) 评论(0) 推荐(0) 编辑
摘要:#include<iostream>#include<vector>using namespace std; bool cmp(vector<int> &A,vector<int> &B){ if(A.size()!=B.size()) return A.size()>B.size(); for(i 阅读全文
posted @ 2023-05-14 22:49 Verneyyx 阅读(13) 评论(0) 推荐(0) 编辑
摘要:1. #include<bits/stdc++.h>using namespace std;int n,x,ans=0,sum=0,a[1001],b[1001];int main(){ memset(a,0,sizeof(a)); memset(b,0,sizeof(b)); n=10; for( 阅读全文
posted @ 2023-05-13 22:17 Verneyyx 阅读(16) 评论(0) 推荐(0) 编辑
摘要:#include <iostream>#include <cstring>#include <algorithm>#include <vector>#include <unordered_set>#pragma GCC optimize(2)#pragma GCC optimize(3)#defin 阅读全文
posted @ 2023-05-12 22:04 Verneyyx 阅读(14) 评论(0) 推荐(0) 编辑
摘要:1. #include <iostream>#include <cstring>#include <algorithm>#include <set> using namespace std; const int N = 1010; int t, n;int a[N], b[N];set<int> s 阅读全文
posted @ 2023-05-12 22:02 Verneyyx 阅读(16) 评论(0) 推荐(0) 编辑
摘要:1. #include <iostream>#include <vector> using namespace std; int n; void solve(){ cin >> n; vector<string> vec; for (int i = 0; i < n; i ++) { string 阅读全文
posted @ 2023-05-09 22:29 Verneyyx 阅读(18) 评论(0) 推荐(0) 编辑
摘要:1. #include <iostream>using namespace std; template <class T>class MyArray{public: bool check(); ~MyArray(); MyArray(int); void sort(); void display() 阅读全文
posted @ 2023-05-05 21:50 Verneyyx 阅读(12) 评论(0) 推荐(0) 编辑
摘要:1. #include <iostream> using namespace std; int a[501][501]; int main(){ int n, sum = 0; cin >> n; for (int i = 1; i <= n; i++) for (int j = 1; j <= n 阅读全文
posted @ 2023-05-04 21:11 Verneyyx 阅读(14) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示