摘要:
前言 备忘录。 __builtin 内置函数 __builtin_ctz int __builtin_ctz(unsigned int x) int __builtin_ctzl(unsigned long x) int __builtin_ctzll(unsigned long long x) 从 阅读全文
摘要:
P10058 Reverse and Rotate sb 了,看到这题的第一反应是文艺平衡树。 再反转前记录累计有多少为要左移,然后翻转。 无语了,这么简单的题写这么复杂。 code: #include <bits/stdc++.h> #define fi first #define se seco 阅读全文