随笔分类 -  PTA程序设计

摘要:#include <bits/stdc++.h> #include<math.h> #include <string> using namespace std; const int MAX_LEN = 10005; char str[MAX_LEN]; int hashTable[30] = {0} 阅读全文
posted @ 2020-01-07 13:58 JasonPeng1
摘要:#include<math.h> #include <cstring> #include <cstdio> const int MAX_LEN = 1010; char str[MAX_LEN]; int hashTable[30] = {0}; int main(){ fgets(str,1010 阅读全文
posted @ 2020-01-06 21:24 JasonPeng1 阅读(211) 评论(0) 推荐(0)
摘要:#include <bits/stdc++.h> #include<math.h> #include <string> using namespace std; const int MAX_LEN = 100005; int main(){ int hashTable[256]; for(int i 阅读全文
posted @ 2020-01-06 14:24 JasonPeng1
摘要:#include <bits/stdc++.h> #include<math.h> #include <string> using namespace std; const int MAX_LEN = 100005; int main(){ int n; int temp[101]; for(int 阅读全文
posted @ 2020-01-06 13:45 JasonPeng1
摘要:#include <bits/stdc++.h> #include<math.h> #include <string> using namespace std; const int MAX_LEN = 100005; int main(){ //bool hashTable[256] = {true 阅读全文
posted @ 2020-01-06 10:07 JasonPeng1
摘要:#include <bits/stdc++.h> #include<math.h> #include <string> using namespace std; const int MAX_LEN = 2005; void upper(char *s, int length) { int i = 0 阅读全文
posted @ 2020-01-05 20:13 JasonPeng1
摘要:#include <bits/stdc++.h> #include<math.h> using namespace std; const int MAX_LEN = 2005; //const int MAX_D = 31; struct student{ int id; int Cgrade; i 阅读全文
posted @ 2020-01-05 12:44 JasonPeng1
摘要:#include <bits/stdc++.h> #include<math.h> using namespace std; const int MAX_LEN = 100005; //const int MAX_D = 31; struct student{ int number; int fir 阅读全文
posted @ 2020-01-05 09:53 JasonPeng1
摘要:#include <bits/stdc++.h> #include<math.h> using namespace std; const int MAX_LEN = 105; //const int MAX_D = 31; int main(){ int a,b; cin>>a; cin>>b; i 阅读全文
posted @ 2020-01-04 23:52 JasonPeng1
摘要:#include <bits/stdc++.h> #include<math.h> using namespace std; const int MAX_LEN = 105; //const int MAX_D = 31; //char temp[MAX_LEN]; //vector<char> r 阅读全文
posted @ 2020-01-03 09:08 JasonPeng1
摘要:#include <bits/stdc++.h> #include<math.h> using namespace std; const int MAX_LEN = 105; //const int MAX_D = 31; int main(){ char temp[MAX_LEN]; for(in 阅读全文
posted @ 2020-01-02 19:18 JasonPeng1
摘要:#include <bits/stdc++.h> #include<math.h> using namespace std; const int MAX_LEN = 100005; //const int MAX_D = 31; struct ID{ char tem[20]; }; int mai 阅读全文
posted @ 2020-01-01 23:34 JasonPeng1
摘要:第二次: #include <bits/stdc++.h> #include <math.h> #include <cstring> #include <cstdio> using namespace std; const int MAX_LEN = 100005; //const int MAX_ 阅读全文
posted @ 2020-01-01 19:38 JasonPeng1
摘要:#include <bits/stdc++.h> #include<math.h> using namespace std; const int MAX_LEN = 100005; //const int MAX_D = 31; int main(){ int n; cin>>n; int Bdig 阅读全文
posted @ 2020-01-01 19:21 JasonPeng1
摘要:#include <bits/stdc++.h> #include<math.h> using namespace std; const int MAX_LEN = 100005; const int MAX_D = 31; int main(){ int a,b,n; cin>>a; cin>>b 阅读全文
posted @ 2020-01-01 19:00 JasonPeng1
摘要:注意行数为偶数或奇数的情况 #include <bits/stdc++.h> #include<math.h> using namespace std; const int MAX_LEN = 100005; int main(){ int n; cin>>n; char temp; cin>>te 阅读全文
posted @ 2019-12-30 10:17 JasonPeng1
摘要:#include <bits/stdc++.h> #include<math.h> using namespace std; struct Student{ char name[10]; char gender; char number[10]; int grade; }man,woman; con 阅读全文
posted @ 2019-12-30 09:30 JasonPeng1
摘要:#include <bits/stdc++.h> #include<math.h> using namespace std; const int MAX_LEN = 100005; struct Person{ char name[15]; int HH; int MM; int SS; int H 阅读全文
posted @ 2019-12-29 21:10 JasonPeng1
摘要:#include <bits/stdc++.h> #include<math.h> using namespace std; const int MAX_LEN = 100005; int main(){ char temp[MAX_LEN]; float res[MAX_LEN]; float f 阅读全文
posted @ 2019-12-29 16:37 JasonPeng1
摘要:#include <bits/stdc++.h> #include<math.h> using namespace std; const int MAX_LEN = 100005; struct Student{ int number; int grade; }temp[MAX_LEN]; int 阅读全文
posted @ 2019-12-29 16:19 JasonPeng1