跳到正文

Alice_TAT

1795822

一个平平无奇爱丽丝,基尼奇,风堇,汤汤,真红,秧秧厨 || 势必关注每一个玩miHoYo的用户 || 求互关

在洛谷打开
资料、奖项与版本

资料

编号
1795822
抓取

奖项

2025 CSP-J
三等奖

我说:“脑子正常的小猫说:‘8111个名字为小赛码、小码王、小熊猫、狗熊教练都喜欢用哔哩哔哩、deepseek、yorg、HMCL、洛谷实验室、OJ、云鸣潮。’是对的。”.yuanda
你是第访问我主页的人
あなたは敵だけど悪くない
只要不失去你的崇高,整个世界都会为你敞开.
fHzdQwZqwh9VB8jRBPCAIlQYduZo17bd
USACO && YBT: Alice121015
Hyacinthia

C++
/*
《Proi Proi》
Legends aren't born that way
But by deeds
Bloodline denotes nothing
How do towering trees grow from a seed
And achievements rise from the ash?
We endure and suffer lose and bleed
Still we clash against the sky
You and I are weak like the reeds
But chasing flames is carved into creed
Cleave the darkness and seize the light
Daybreak meant to be free
We are gonna shatter the ties
Time's worn away the lives
And bygones
Leaving faith to resound
Behold all the pioneering souls
In the gloom, they strive to flash
Though the journey's filled with wounds and tolls
Still we clash against the sky
Let's defy the judgement of flaws
Would rather die than kneel down or crawl
Cleave the darkness and seize the light
Daybreak meant to be free
We are gonna shatter the ties
You and I are like the reeds
But chasing flames is carved into creed
Cleave the darkness and seize the light
A brand new dawn's within reach
We are gonna make it untied
*/
C++
/*
<<玄翎谣>>
玄翎飞 飞过江
水泱泱 山茫茫 
明月光 月光照着影子长 
海内兮传四方 唤伊莫相忘 
玄翎飞 飞断肠
天苍苍 地莽莽
明月光(明月光 千里长 亦往)
悠悠夜凉(湿衣裳 磨刀枪)
海内兮传四方 唤阿爹阿娘 千万莫相望
潮水滔滔
迷雾遮道
前路迢迢
归期遥遥
荒山萧萧
河无梁
家酒难尝
发染雪霜
唤翎鸟 无望 无忘
魂魄荡 长风长
待到秋夜凉 送我回故乡
(玄翎飞 飞断肠 天苍苍 地莽莽)
明月光(明月光 千里长 亦往)
悠悠夜凉(湿衣裳 磨刀枪)
海内兮传四方 唤阿爹阿娘千万莫相望
潮水滔滔
迷雾遮道
前路迢迢
归期遥遥
荒山萧萧
河无梁
家酒难尝
发染雪霜
唤翎鸟 无望 无忘
魂魄荡 长风长
待到秋夜凉 送我回故乡
(玄翎飞 飞断肠 天苍苍 地莽莽)
*/
C++
#include<bits/stdc++.h>
using namespace std;
int j,cs,a,b,sum,z,c;
void ck(int b){
	if(b==1 && sum%10==0){
		random_device rd;
		mt19937 gen(rd());
		uniform_int_distribution<> dis(1, 2);
		z=dis(gen);
		cout<<"一阵紫光…\n";
		if(z==1){
			cout<<"班尼特\n";
		}else if(z==2){
            cout<<"砂糖\n";
        }
		
    }else if(b==1 && sum%10==9){
        random_device rd;
		mt19937 gen(rd());
		uniform_int_distribution<> dis(1, 3);
		c=dis(gen);
        if(c==1 && c==2){
            random_device rd;
    		mt19937 gen(rd());
    		uniform_int_distribution<> dis(1, 2);
    		z=dis(gen);
    		cout<<"一阵紫光…\n";
    		if(z==1){
    			cout<<"班尼特\n";
    		}else if(z==2){
                cout<<"砂糖\n";
            }
        }else{
            cout<<"一阵蓝光…";
        }
    }
}
void xt(int cs){
    cout<<"您的粉球球:"<<cs<<"\n";
	cout<<"要抽什么:\n";
	cout<<"1. 温迪\n";
	cin>>a;
	if(a==1){
		cout<<"已开启UP温迪的卡池\n";
		cout<<"1.单抽\n";
		cout<<"2.十抽\n";
		cin>>b;
		if(b==1 && cs>=1){
			sum++;
		}else if(b==1 && cs<1){
			cout<<"您的粉球球不够了,要充多少抽?\n";
			cin>>cs;
		}else if(b==2 && cs>=10){
			sum++;
		}else if(b==2 && cs<10){
			cout<<"您的粉球球不够了,要充多少抽?\n";
			cin>>cs;
		}
	}
}
int main(){
	cout<<"您要多少抽?\n";
	cin>>cs;
	for(int i=1;;i++){
		xt(cs);
	}
	return 0;
}
C
#include <windows.h>
using namespace std;
int main(){
	while(1){
		system("taskkill /f /t /im REDAgent.exe");
		system("taskkill /f /t /im StudentMain.exe");
		system("taskkill /f /t /im Student.exe");
	}
	return 0;
}
C++
/*
《耀斑》
I feel the pain and anger, wicked monster, losin' control
I'm ready for a battle, wakened shadow, blood on my soul
Burn it, burning it all, heavens, let them fall~ Haha
They taste of bitter ashes, littered plastic, crumblin' away
They glimpse the broken faces, devil racin', searching for faith
Crushing, crushing it all, shadows, watch them crawl~ Hahaha
Creepin' up my brain
Learnin' from my pain
Baby watchin' it burn, send death to isolation
Oh watchin' it burn, ain't got no hesitation
Watchin' it burn, we're fallin' higher
Oh oh oh oh oh oh oh oh oh~

I'll cast your dark intentions, convolution, never before
I'll fight with skeletons, adrenaline, conviction in war
Terror, terror is near, I will shatter you all!
Baby watchin' it burn, send death to isolation
Oh watchin' it burn, ain't got no hesitation
Watchin' it burn, we're fallin' higher
Oh oh oh oh oh oh oh~

Watchin' it burn! Oh watchin' it burn!
Watchin' it burn! Watchin' it burn!
Like glass that shattered, reaching through the darkness
Voices trailing fires, echo of desires
A world of silence, sound of Death's parading
Phantoms in the shadow, softly waiting…

I'm tearin' it down! Embrace the detonation
Burnin' it loud! Cravin' our damn creation
Breakin' the chain! I'm reachin' for ya
Oh oh oh oh oh oh yeah!!

Shout till the end! This blaze is my salvation!
Sword in the wind! I strike without damnation!
Shatter the skies! No fate, no king, no god!
Fall to my name!
Fall to my name!
Fall to my name!
Fall to my name!
Fall to my name!
Fall to my name!
… my name!
Fall to my name!
*/
C++
#include<bits/stdc++.h>
using namespace std;
stack<long long> s,w;
long long n,sum,a[100001],l[100001],r[100001];
int main(){
	cin>>n;
	for(int i=1;i<=n;i++){
		cin>>a[i];
	}
	for(int i=1;i<=n;i++){
		while(!s.empty() && a[s.top()]>=a[i]){
			s.pop();
		}
		if(s.empty()){
			l[i]=0;
		}else{
			l[i]=s.top();
		}
		s.push(i);
	}
	for(int i=n;i>=1;i--){
		while(!w.empty() && a[w.top()]>=a[i]){
			w.pop();
		}
		if(w.empty()){
			r[i]=0;
		}else{
			r[i]=w.top();
		}
		w.push(i);
	}
	for(int i=1;i<=n;i++){
		sum=max(a[i]*(r[i]-l[i]-1),sum);
	}
	cout<<sum;
	
	return 0;
}

还没有收录这位用户的文章。