上一页 1 ··· 14 15 16 17 18 19 20 21 22 ··· 27 下一页
摘要: code #include<iostream> #include<cstdio> using namespace std; int main() { ios::sync_with_stdio(false); int a,m,ans; cin>>a>>m; a%=m; ans=a*a%m; cout< 阅读全文
posted @ 2022-02-09 09:58 ethon-wang 阅读(31) 评论(0) 推荐(0) 编辑
摘要: code #include<iostream> #include<cstdio> using namespace std; int main() { ios::sync_with_stdio(false); int n; cin >> n; if (n & 1) { printf("odd"); / 阅读全文
posted @ 2022-02-09 09:49 ethon-wang 阅读(22) 评论(0) 推荐(0) 编辑
摘要: link japan BT 阅读全文
posted @ 2022-02-08 17:25 ethon-wang 阅读(10) 评论(0) 推荐(0) 编辑
摘要: 视频解说 所需软件: TCPOptimizer 阅读全文
posted @ 2022-02-08 15:43 ethon-wang 阅读(34) 评论(0) 推荐(0) 编辑
摘要: code #include<iostream> #include<algorithm> using namespace std; const int N=2; int m; struct Matrix{ int m[N][N]; }matrix;//definr matrix struct Matr 阅读全文
posted @ 2022-02-08 14:35 ethon-wang 阅读(56) 评论(0) 推荐(0) 编辑
摘要: 快速排序的特点 元素越无序,时间效率就越高 空间复杂度 快速排序空间复杂度为 $O(log_2n)$ code #include<iostream> using namespace std; void QuickSort(int a[],int L,int R); int main(){ ios:: 阅读全文
posted @ 2022-02-07 13:13 ethon-wang 阅读(36) 评论(0) 推荐(0) 编辑
摘要: code #include<iostream> #include<algorithm> #include<vector> using namespace std; int main(){ ios::sync_with_stdio(false); int C; vector<int> vec; whi 阅读全文
posted @ 2022-02-07 10:58 ethon-wang 阅读(50) 评论(0) 推荐(0) 编辑
摘要: ~在C语言的意思是按位取反,即0->1,1->0. 而且scanf函数是有返回值的,并且返回值为int。 根据这个符号特殊的含义和scanf函数的返回值,当输入为-1是,将-1取反为0,循环会结束 所以~的含义为循环输入,直到输入-1,停止循环。 阅读全文
posted @ 2022-02-07 10:50 ethon-wang 阅读(79) 评论(0) 推荐(0) 编辑
摘要: code #include<iostream> #include<string> #include<algorithm> using namespace std; int main(){ ios::sync_with_stdio(false); string str; getline(cin,str 阅读全文
posted @ 2022-02-07 10:00 ethon-wang 阅读(23) 评论(0) 推荐(0) 编辑
摘要: F-Droid 阅读全文
posted @ 2022-02-05 14:59 ethon-wang 阅读(54) 评论(0) 推荐(0) 编辑
上一页 1 ··· 14 15 16 17 18 19 20 21 22 ··· 27 下一页