摘要: 4791. 死或生 #include<bits/stdc++.h> #define int long long using namespace std; int n , ax , ay , bx , by; int32_t main(){ cin >> n; for( int t , x , y ; 阅读全文
posted @ 2023-01-09 19:38 PHarr 阅读(16) 评论(0) 推荐(0) 编辑
摘要: N. Fibonacci Sequence(补队友题) print("1 1 2 3 5") B. So Easy(补队友题) 设$x_i$表示第$i$行加的值,$y_i$表示第$i$列加的值。则有$a_{i,j}=x_i+y_j$ | | $j-1$ | $j$ | | : : | : : | : 阅读全文
posted @ 2023-01-09 10:57 PHarr 阅读(16) 评论(0) 推荐(0) 编辑
摘要: A - Sequence of Strings #include<bits/stdc++.h> using namespace std; int32_t main(){ int n; cin >> n; vector<string> s(n); for( auto &i : s ) cin >> i 阅读全文
posted @ 2023-01-09 10:55 PHarr 阅读(38) 评论(0) 推荐(0) 编辑
摘要: Day 1 今天主要在补之前各种比赛的题目 AcWing4653. 数位排序 #include<bits/stdc++.h> #define int long long using namespace std; int32_t main(){ int n , m; cin >> n >> m; ve 阅读全文
posted @ 2023-01-09 10:45 PHarr 阅读(20) 评论(0) 推荐(0) 编辑