摘要: import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner in = new Scanner(System.in); int n = in.nextInt(); int 阅读全文
posted @ 2023-11-12 18:36 -Asurada- 阅读(4) 评论(0) 推荐(0) 编辑
摘要: #include <iostream> #include <bits/stdc++.h> #include <string> using namespace std; int array[1000006]= {0}; int main() { int n; int sum=0; cin>>n; in 阅读全文
posted @ 2021-02-18 21:34 -Asurada- 阅读(89) 评论(0) 推荐(0) 编辑
摘要: #include <iostream> #include <bits/stdc++.h> #include <string> using namespace std; int main() { int n; cin>>n; vector<int> a; for(int i=0;i<n;i++) { 阅读全文
posted @ 2021-02-18 20:57 -Asurada- 阅读(94) 评论(0) 推荐(0) 编辑
摘要: #include <iostream> #include <bits/stdc++.h> #include <string> using namespace std; int r,y,g; void change(long long int sum,int &k,int &t)//最开始显示为t秒, 阅读全文
posted @ 2021-02-17 23:30 -Asurada- 阅读(130) 评论(0) 推荐(0) 编辑
摘要: #include <iostream> #include <bits/stdc++.h> #include <string> using namespace std; int main() { int r,y,g; cin>>r>>y>>g; int n; cin>>n; int sum=0; wh 阅读全文
posted @ 2021-02-17 21:29 -Asurada- 阅读(92) 评论(0) 推荐(0) 编辑
摘要: #include <iostream> #include <bits/stdc++.h> #include <string> using namespace std; int main() { int n; cin>>n; stack <char> oper;//运算符 stack <int> nu 阅读全文
posted @ 2021-02-07 22:40 -Asurada- 阅读(106) 评论(0) 推荐(0) 编辑
摘要: #include <iostream> #include <bits/stdc++.h> #include <string> using namespace std; int main() { int n; cin>>n; vector<int> v; for(int i=0;i<n;i++) { 阅读全文
posted @ 2021-02-07 20:14 -Asurada- 阅读(101) 评论(0) 推荐(0) 编辑
摘要: #include <iostream> #include <bits/stdc++.h> #include <string> using namespace std; typedef struct { int end; bool isDrop; }Tree; vector<Tree> tree; i 阅读全文
posted @ 2021-02-06 12:49 -Asurada- 阅读(104) 评论(0) 推荐(0) 编辑
摘要: #include <iostream> #include <bits/stdc++.h> #include <string> using namespace std; typedef struct { int base; vector<int> subtract; int end; }Tree; v 阅读全文
posted @ 2021-02-06 12:06 -Asurada- 阅读(110) 评论(0) 推荐(0) 编辑
摘要: #include <iostream> #include <bits/stdc++.h> #include <string> using namespace std; vector<Point> xy; int a=0,b=0,c=0,d=0,e=0; void isJudge(Point temp 阅读全文
posted @ 2021-02-05 13:41 -Asurada- 阅读(122) 评论(0) 推荐(0) 编辑