just waiting for you
追踪最近的用户名外显变动记录。
最近的文章、讨论、云剪贴板与社区记录
在讨论《noip全写如下》回复:
National Ohmygod IOI Plus
在文章《NOIP 有啥必知道的 9 个 trick》发表评论:
考完了,没用上
在讨论《求调》回复:
@[chenjunnan](luogu://user/1041850) 阿里嘎多
```cpp #include #define PII pair using namespace std; int n; const int N = 1005; int sx, sy, fx, fy; char g[N][N]; int st[N][N], dis[N][N]; int dx[4] = {-1, 0,…
```cpp #include using namespace std; const int N = 5005; int n; string dp[N]; int x[505], y[505], z[1010]; string jinwei (string a, string b) { int len = a.size…
在讨论《求调,无语,这种题也能错》回复:
呃呃呃
在讨论《求调,无语,这种题也能错》回复:
@[dg114514](luogu://user/1373205)...
```cpp #include using namespace std; string a, b; int x[505], y[505], z[1010]; void jinwei () { int len = a.size(); for (int i = 0; i 9) len++; if (z[i] > 9) {…
```cpp #include using namespace std; const int N = 2e5 + 5; int a[N], n, q; array b[N]; int ans[N]; int main () { ios::sync_with_stdio(false); cin.tie(0); cin >…
```cpp #include using namespace std; map mp; string s; int main () { ios::sync_with_stdio(false); cin.tie(0); string a; while (cin >> a) { if (mp.count(a) == 0)…
```cpp #include using namespace std; int a[101], n; void swap (int &a, int &b) { int t = a; a = b; b = t; return; } void quicksort (int left, int right) { int i…
```cpp //本节用数组模拟栈的操作判断回文数 //先简单写一下利用reverse函数的简单方法 /* #include using namespace std; bool yyh (vector a) { vector s = a; reverse(s.begin(), s.end()); return s ==…
```cpp #include using namespace std; int yyhabs (int a) { if (a >= 0) return a; return -1 * a; } string a, b; int t; int main () { ios::sync_with_stdio(false);…
在讨论《求调,必关,用的是二分法》回复:
感谢
在讨论《求调,必关,用的是二分法》回复:
行吧
在讨论《求调,必关,用的是二分法》回复:
而且真的是AI写的话,注释能这么少吗
在讨论《求调,必关,用的是二分法》回复:
@[FlowerRed](luogu://user/1510406)不是AI才会打注释好不好,真的是我自己写的,骗你干啥
代码如下 ```cpp #include using namespace std; const int N = 1e5 + 5; int n, c[N], m, p1, s1, s2; long long tiger_sum, dragon_sum; int dragon[N], tiger[N]; int main…
在讨论《明天考试!!!求回!!!闭关!!!》回复:
回复我的都关了
在讨论《明天考试!!!求回!!!闭关!!!》回复:
@[Rhapsodie](luogu://user/424473)数值都不对
在讨论《明天考试!!!求回!!!闭关!!!》回复:
反了也不对啊
```cpp #include using namespace std; int n; int main () { int ans = 0, sum = 0; int zhong; cin >> n; bool flag = 1; while (n) { if (n % 3 == 1 && flag) { cout <…
在讨论《大佬求调,我知道不是正解,但是为什么样例都过不了》回复:
谢谢大佬,正在备战csp
在讨论《大佬求调,我知道不是正解,但是为什么样例都过不了》回复:
@[glad_yimie](luogu://user/795984) 大佬,为什么我这样写没有二分效果呢?
在讨论《大佬求调,我知道不是正解,但是为什么样例都过不了》回复:
谢谢大佬
在讨论《大佬求调,我知道不是正解,但是为什么样例都过不了》回复:
我排了序,但是只有二十分,有没有大佬帮我改进一下
```cpp #include using namespace std; int n, m; const int N = 2e6 + 5; int arr[N]; int main () { scanf ("%d %d", &n, &m); for (int i = 0; i mid) { sum += arr[i]…
首先说明,我知道这不是正解,但是我不知道我哪错了,望有大佬解惑 ```cpp #include using namespace std; int n, b; bool iP(int x) { if (x <= 1) return false; for (int i = 2; i * i <= x; i++) { if…
```cpp #include using namespace std; double h; int main () { scanf ("%lf", &h); double ans = 0; double sum = h; for (int i = 1; i <= 10; i++) { sum = sum / 2; a…