看什么看,我喜欢你
你知道吗,打乱顺序不影响人们阅读
别读了,再读一遍也是这样
趋势大事祭
- 2025.04.06 AC 5紫
- 2025.04.10 AC 20蓝
- 2025.04.12 AC 10紫
- 2025.04.19 AC 25蓝
- 2025.05.30 AC 20紫
- 2025.07.16 AC 50蓝
- 2025.07.22 AC 510次
- 2025.07.24 AC 514次
- 2025.08.04 AC 1黑
- 2025.08.18 橙名力
- 2025.09.19 打卡100天
- 2025.09.26 AC 50紫
- 2025.10.14 红名力
- 2025.11.13 AC 猪国杀
- 2026.04.01 棕名+tag 不愧是我
- 2026.06.30 AC 100青
- 2026.07.22 打卡365天
小事寄
- 2025.08.16 AC 100橙
- 2025.12.11 hjz 在机房对 ylf 说
你算老几 - 2025.12.13 ABC场切六题
- 2026.01.09 打卡200天
- 2026.02.04 打卡222天
- 2026.03.20 AC 100蓝
- 2026.04.02 窝还有棕名
- 2026.06.30 AC 6蓝
- 2026.07.16 AC 100紫
- 2026.07.23 打卡 366天
- 2026.08.28 打卡 400天
2048
51001 新生儿
51002 离人愁
51003 进监狱
51004 龙骑士
51005 通惠河
51006 刘伯温
51007 年终奖
51008 原子核
51009 将军令
51010 老傻子
51011 好基友
51012 跳一跳
51013 大屏幕
51014 男中音
51015 吾儿强
51016 网吧名
51017 火药味
51018 还嘴硬
51019 植物类
51020 踩油门
51021 网球场
51022 淋浴房
51023 仓库内
51024 零售业
51025 碳纳米
51026 六月份
51027 小面包
51028 水资源
51029 雷阵雨
51030 海洋王
51031 金戒指
510114514 士力架老谷神帖
暂存
#include<bits/stdc++.h>
#define int long long
constexpr int N=1e6;
int phi[N+5],not_prime[N+5];
int has_rt[N+5];
std::vector<int>primes;
void pre()
{
phi[1]=1;
for(int i=2;i<=N;++i)
{
if(!not_prime[i])
{
primes.push_back(i);
phi[i]=i-1;
}
for(auto j:primes)
{
if(j*i>N)break;
not_prime[i*j]=true;
if(i%j==0)
{
phi[i*j]=phi[i]*j;
break;
}
phi[i*j]=phi[i]*(j-1);
}
}
has_rt[2]=has_rt[4]=true;
for(int p:primes)
{
for(int num=p;num<=N;num*=p)has_rt[num]=true;
for(int num=p*2;num<=N;num*=p)has_rt[num]=true;
}
}
std::vector<int>get_prime_fac(int p)
{
std::vector<int>ans;
for(int i=2;i*i<=p;++i)
if(p%i==0)
{
ans.push_back(i);
while(p%i==0)p/=i;
}
if(p>1)ans.push_back(p);
return ans;
}
int fast_pow(int a,int b,int p)
{
int ans=1;
for(;b;b>>=1,a=a*a%p)if(b&1)(ans*=a)%=p;
return ans;
}
bool check(int x,int p,const std::vector<int> &fc)
{
if(fast_pow(x,phi[p],p)!=1)return false;
for(const auto i:fc)
if(fast_pow(x,phi[i]/i,p)==1)return false;
return true;
}
int find_rt(int p,const std::vector<int> &fc)
{
for(int i=1;i<p;++i)if(check(i,p,fc))return i;
return 0;
}
signed main()
{
std::ios::sync_with_stdio(0);
std::cin.tie(0),std::cout.tie(0);
pre();
int t;
std::cin>>t;
while(t--)
{
int n,d;
std::cin>>n;
if(!has_rt[n]){std::cout<<"0\n\n";continue;}
std::vector<int>fcs(get_prime_fac(phi[n]));
int min_rt=find_rt(p);
}
}I often find myself lost in memories of the past.
Moments of life are frozen in my mind. I cut, fold, and curl the time behind me, kneading it into fluffy white clouds in the sky.
There are different types of clouds too: cumulus clouds are thick and heavy, while cirrus clouds are light and ethereal. The most striking scenes that flash through my mind stay with me forever, while more ordinary memories gradually fade under the wear of time. Reminiscing is like entering a dream—too clear and it spoils the fantasy, too vague and you fall into nothingness. Only the misty mountains and rivers, the veiled woman—that perfect touch of haze—can satisfy my pursuit of beauty.
Memory often wraps me in its yellowed pages when I least expect it. Friends who parted and reunited, streets torn down and rebuilt—these clues help me start from a specific moment and travel up the river of time. The past cannot be relived; I am merely a visitor. Yet I still long to take my time on each journey into memory, to pause before a scene, to gaze at my former self through the haze of years, and feel as much sweetness as possible. Beautiful moments once flowed through my body—that alone is enough to content me.
The past has solidified. I carry my memories forward, but I often neglect to preserve them properly, and the memories themselves keep changing shape. This brings certain challenges to my journeys of remembrance.
Where should I linger? I ask myself.我会用最直接、最真相、最不绕弯、最扎心、最硬核、最干脆、最不墨迹、最戳痛点、最不留情面、最一针见血、最开门见山、最单刀直入、最不铺垫、最不客套、最不煽情、最不废话、最不拐弯、最不磨叽、最不装、最不端着、最不啰嗦、最不拖沓、最不委婉、最不掩饰、最不藏着掖着、最直白、最露骨、最实在、最通透、最毒辣、最爽快、最解气、最上头、最够劲、最过瘾、最粗暴、最有效、最狠、最准、最稳、最绝、最顶、最炸、最刚、最烈、最飒、最莽、最冲、最猛、最脆、最亮、最透、最干、最净、最硬核的方式来告诉你,我没绷住