阳光开朗大男孩||个人主页:https://www.luogu.com.cn/paste/ed51y7oi
追踪最近的用户名外显变动记录。
最近的文章、讨论、云剪贴板与社区记录
```cpp #include using namespace std; int n, B; bool prime[1000010]; bool shu[1000010]; int zhi(int n){ for (int i = n; i >= 1; i--){ if (n%i == 0 && prime[i] ==…
在讨论《怎样去除团队》回复:
哪里有转让的按钮?
在讨论《怎样去除团队》回复:
怎样转让@[luojingjie](/user/1017079)
在讨论《RE求救》回复:
@[OldDriverTree](/user/681036) 还是不行
```cpp #include using namespace std; int n, m = 1; bool shu[100000010]; int prime[100000000]; void pdprime(){ for (int i = 2; i <= n; i++){ if (shu[i] == 0){ fo…
在讨论《说句闲话》回复:
嗯~~~你这准考证有些特别 我的准考证是js-j01543
在讨论《有没有适合新手的简单题目》回复:
@[j20130930j](/user/1409448) 你在题库中的筛选条件中你勾上顺序结构这个标签,里面全是~~水题~~
在讨论《问个问题(违规紫杉)》回复:
@[purplepolarstar](/user/603997) 你是啥学校
```cpp #include using namespace std; bool prime(int n){ if (n > n; a[1] = 1, a[2] = 1; for (int i = 3; i 1){ if (boo == 1){ cout << '*'; } cout << f; } return 0…
在讨论《10分求助!!!》回复:
@[Hanrui1206](/user/1283944) 韩睿?
在讨论《10分求助!!!》回复:
@[Diredtofu](/user/844233) @[Hanrui1206](/user/1283944) 已关
```cpp #include using namespace std; int main(){ int t; cin >> t; while (t--){ int r; int ans = 0; cin >> r; string s; cin >> s; int len = s.size(); for (int i…
在讨论《求助!!!》回复:
@[xionghao2013](/user/978418) 我的错哪了
```cpp #include using namespace std; int n; int ii, jj; int a[25][25]; int main(){ cin >> n; ii = 1, jj = (n+1)/2; a[ii][jj] = 1; for (int i = 2; i <= n*n; i++)…
在讨论《70求救!》回复:
修改后的AC代码 一定要关注我 @[what_is_it](/user/1384143) ```cpp #include using namespace std; int main(){ int a = 0,b=0; bool boo = 1; string s; cin>>s; for(int i=0;i 0 &&…
在讨论《70求救!》回复:
有一种特殊情况 )(abc 答案应该是错,你在看看你的输出
在讨论《为啥会原封不动的输出——归并排序》回复:
这题我已经A了,只是想有归并排序再做一遍 @[hehejiuzhe](/user/1080028)
```cpp #include using namespace std; int n, m, k; int a[1010], b[1010]; void xy_sort(int l, int r){ if (l >= r) return; int zhong = (l+r)/2; k = l; xy_sort(l, z…
在讨论《AC必关,28pts》回复:
英文字母一共有26个,不是24个
在讨论《求助》回复:
这段代码是用于计算将给定字符串分割成若干部分,使得每个部分都满足特定条件的最小分割次数。又或者是计算在字符串中插入或删除某些字符,以达到特定目标状态的最小操作次数。
在讨论《20,救命》回复:
my AC code: ```cpp #include using namespace std; int main(){ int h, m, s; cin >> h >> m >> s; int k; cin >> k; s += k; m += s/60; s %= 60; h += m/60; m %= 60; c…
```cpp #include using namespace std; int n, y, r; int p[] = {0,31,28,31,30,31,30,31,31,30,31,30,31}; bool rn(int n){ if ((n%4 == 0 && n%100 != 0) || (n%400 == 0…
```cpp #include using namespace std; int n, a[40][40]; int ii, jj; int main(){ cin >> n; a[1][(n-1)/2] = 1, ii = 1, jj = (n-1)/2; for (int i = 2; i <= n*n; i++)…
```cpp #include using namespace std; int main(){ int len, ans = 0; string s; cin >> len >> s; bool b[len]; for (int i = 0; i < len; i++){ if (i <= len-2 && s[i]…
```cpp #include using namespace std; int n, a[1010], b[1010]; int main(){ cin >> n; for (int i = 0; i > a[i]; } for (int i = 1; i < n; i++){ b[i] = abs(a[i]-a[i…
在讨论《【题单征集】精选题单征集帖》回复:
https://www.luogu.com.cn/training/562643
```cpp #include using namespace std; bool huiwen(int a){ string n = to_string(a); int right, left; left = 0; right = n.size()-1; bool x = 1; while (left > a >>…
```cpp #include using namespace std; int main(){ int t; cin >> t; while (t--){ int a; bool x = 0; cin >> a; for (int i = 0; i <= a; i++){ int j = sqrt(a-i*i); i…