随笔分类 - PTA程序设计
摘要:2019-12-24 14:37:16 #include <bits/stdc++.h> #include<math.h> using namespace std; const int MAX_LEN = 1004; struct Student{ long long number;//学号 int
阅读全文
posted @ 2019-12-24 14:39
JasonPeng1
摘要:2019-12-23 14:54:40 #include <bits/stdc++.h> #include<math.h> using namespace std; const int MAX_LEN = 2004; int main(){ double temp1[MAX_LEN]={0}; do
阅读全文
posted @ 2019-12-23 14:56
JasonPeng1
摘要:2019-12-21 14:29:21 #include <bits/stdc++.h> #include<math.h> using namespace std; const int MAX_LEN = 10001; int main(){ /*//A多项式,B多项式: vector<int,do
阅读全文
posted @ 2019-12-21 14:30
JasonPeng1
摘要:2019-12-20 09:38:48 What The Fuck? 只通过一个样例? scanf("%d",&t)!=EOF这句很重要! #include <bits/stdc++.h> #include<math.h> using namespace std; const int MAX_LEN
阅读全文
posted @ 2019-12-20 09:52
JasonPeng1
摘要:2019-12-18 21:31:22 注意需要用变量单独来记录 a + b的值,和正溢出和负溢出的情况。 #include <bits/stdc++.h> #include<math.h> using namespace std; const int MAXN = 100005; int main
阅读全文
posted @ 2019-12-18 21:33
JasonPeng1
摘要:2019-12-15 15:25:34 #include <bits/stdc++.h> #include<math.h> using namespace std; const int MAXN = 100005; int main(){ int N; cin>>N; int temp[N+1];
阅读全文
posted @ 2019-12-15 15:28
JasonPeng1
摘要:2019-12-12 16:08:38 #include <bits/stdc++.h> #include<math.h> using namespace std; int main(){ int N; cin>>N; int win1=0,win2=0,win3=0,lose1=0,win4=0,
阅读全文
posted @ 2019-12-12 16:11
JasonPeng1
摘要:2019-12-11 20:56:19 #include <bits/stdc++.h> #include<math.h> using namespace std; int main(){ int N; cin>>N; int n[N]; for(int i =0 ;i<N;++i){ cin>>n
阅读全文
posted @ 2019-12-11 20:57
JasonPeng1