摘要: # A. Two Rival Students 让两个人向两侧走就好了。 ```cpp #include using namespace std; void solve(){ int n , x , a , b; cin >> n >> x >> a >> b; if( a > b ) swap( 阅读全文
posted @ 2023-07-28 15:52 PHarr 阅读(5) 评论(0) 推荐(0) 编辑
摘要: # 数字三角形 ```cpp #include using namespace std; #define int long long int32_t main() { ios::sync_with_stdio(false), cin.tie(nullptr); int n; while( cin > 阅读全文
posted @ 2023-07-28 09:36 PHarr 阅读(2) 评论(0) 推荐(0) 编辑