摘要:
#include<iostream> #include<vector> using namespace std; #define MAX 10005 #define REP(i,b,e) for(int i=b;i<e;i++) vector<int>b[MAX]; int a[MAX], p[MA
阅读全文
posted @ 2020-08-06 20:26
forwhat00
阅读(71)
推荐(0)
摘要:
#include<iostream> using namespace std; int main() { int i,t,x,j; cin >> t; while (t--){ cin >> x; j = (x%4 != 0); for(int i=1;i<=x;i++){ cout<<(( j ?
阅读全文
posted @ 2020-08-06 15:14
forwhat00
阅读(116)
推荐(0)
摘要:
#include<iostream> #include<cstdio> #include<algorithm> using namespace std; int main(){ int t; scanf("%d",&t); for(int i=0;i<t;i++) { int x; scanf("%
阅读全文
posted @ 2020-08-06 13:49
forwhat00
阅读(116)
推荐(0)
摘要:
#include <iostream> #include <cstdio> #include <cmath> #include <vector> #include <climits> #include <algorithm> #define MAXN 200007 #define REP(i,b,e
阅读全文
posted @ 2020-07-29 15:50
forwhat00
阅读(139)
推荐(0)
摘要:
#include <iostream> #include <cstdio> #include <cmath> #include <vector> #include <climits> #include <algorithm> using namespace std; int n; typedef s
阅读全文
posted @ 2020-07-28 17:42
forwhat00
阅读(100)
推荐(0)
摘要:
#include<iostream> #include<algorithm> #include<stdio.h> #include<string.h> using namespace std; #define DEBUG if(1) const int MAXN = 1010;//点数 const
阅读全文
posted @ 2020-07-21 21:37
forwhat00
阅读(202)
推荐(0)
摘要:
1 #include <iostream> 2 #include <cmath> 3 #include <algorithm> 4 #define REP(i, begin, end) for (int i = begin; i <= end; i ++) 5 #define DEBUG if(1)
阅读全文
posted @ 2020-07-17 01:11
forwhat00
阅读(186)
推荐(0)
摘要:
#include<iostream> #include<stdio.h> #include<cstring> #include<vector> #include<algorithm> #define DEBUG if(0)//方便测试 #define MAX 100010 using namespa
阅读全文
posted @ 2020-07-15 00:48
forwhat00
阅读(149)
推荐(0)
摘要:
1 #include<iostream> 2 #include<cmath> 3 #include<cstdio> 4 #include<string> 5 #include<vector> 6 #include<map> 7 #include<cstring> 8 #include<algorit
阅读全文
posted @ 2020-07-12 23:49
forwhat00
阅读(139)
推荐(0)
摘要:
#include<iostream> #include<cmath> #include<algorithm> #include<string> #include<cstring> #define DEBUG if( 1 )//是否输出调试用信息 using namespace std; int W,
阅读全文
posted @ 2020-07-11 18:05
forwhat00
阅读(123)
推荐(0)