这个傻逼的 [静态查错] 能力为 0
|
|
$\mathcal{O}(8n\log{n})$。
题目 4023 硝华流焰
2024-09-30 21:56:03
|
|
怎么记搜跟暴力一样慢
题目 4022 批发市场
2024-09-29 23:32:15
|
|
#include<iostream>
#include<cstdio> using namespace std; int f(int x){ } int j(int a,int b,int c) { int o=0; float e=b*b-4*a*c; if(e<0){ cout<<"NO"<<endl; return 0; } for(int i=0;i<=e;i++) if(i*i==e){ o=1; e=i;break; } float x1=(e-b)/(2*a)*1.0; float x2=(-e-b)/(2*a)*1.0; int x3=(-e-b)/(2*a); int x4=(e-b)/(2*a); if(x1<x2){ if(x2!=x3)f(x2); else cout<<x2<<endl; } } int main() { //freopen("uqe.in","r",stdin); //freopen("uqe.out","w",stdout); long long q,w; cin>>q>>w; in
题目 4016 [NOI 2024]分数
2024-09-28 17:40:29
|
|
页面 95 比较好的部分分题分享
2024-09-26 18:57:47
|
|
#include<iostream>
using namespace std; int main() { //freopen("road.in","r",stdin); //freopen("road.out","w",stdout); long long n,d; long long k,h=0,i,l=0,m=0,v=0,y=0,s=1,s1=1; cin>>n>>d; int a[n],b[(n+1)]; for(i=1;i<n;i++) cin>>a[i]; for(i=1;i<=n;i++) cin>>b[i]; while(y==0){ h=0; for(i=(s+1);i<=n;i++){ if((b[i]<b[s])||(i==n)){ k=(i-s);break; } } for(i=1;i<=k;i++){ h=h+a[i]; s++; } h-=v; cout<<"h="<<h<<' '; l=h/d; if(h%d!=0)l++; cout<<"l="<<l<<' '; v+=l*d; m+=l*b[s1];
题目 4017 [NOI 2024]登山
2024-09-22 18:00:44
|
|
题目 3927 [CSP 2023J]小苹果
2024-09-22 11:07:02
|
|
题目 3927 [CSP 2023J]小苹果
2024-09-22 11:06:45
|
|
hahahahahahahahahahahahahahahahaahhahahahahahahahahahahahahahahahaahhahahahahahahahahahahahahahahahaahhahahahahahahahahahahahahahahahaahhahahahahahahahahahahahahahahahaahhahahahahahahahahahahahahahahahaahhahahahahahahahahahahahahahahahaahhahahahahahahahahahahahahahahahaahhahahahahahahahahahahahahahahahaahhahahahahahahahahahahahahahahahaahhahahahahahahahahahahahahahahahaahhahahahahahahahahahahahahahahahaahhahahahahahahahahahahahahahahahaahhahahahahahahahahahahahahahahahaahhahahahahahahahahahahahahahahahaahha
题目 3927 [CSP 2023J]小苹果
2024-09-22 11:05:53
|
|
hahahahahahahahahahahahahahahahaahhahahahahahahahahahahahahahahahaahhahahahahahahahahahahahahahahahaahhahahahahahahahahahahahahahahahaahhahahahahahahahahahahahahahahahaahhahahahahahahahahahahahahahahahaahhahahahahahahahahahahahahahahahaahhahahahahahahahahahahahahahahahaahhahahahahahahahahahahahahahahahaahhahahahahahahahahahahahahahahahaahhahahahahahahahahahahahahahahahaahhahahahahahahahahahahahahahahahaahhahahahahahahahahahahahahahahahaahhahahahahahahahahahahahahahahahaahhahahahahahahahahahahahahahahahaahha
题目 3927 [CSP 2023J]小苹果
2024-09-22 11:05:50
|
|
hahahahahahahahahahahahahahahahaahhahahahahahahahahahahahahahahahaahhahahahahahahahahahahahahahahahaahhahahahahahahahahahahahahahahahaahhahahahahahahahahahahahahahahahaahhahahahahahahahahahahahahahahahaahhahahahahahahahahahahahahahahahaahhahahahahahahahahahahahahahahahaahhahahahahahahahahahahahahahahahaahhahahahahahahahahahahahahahahahaahhahahahahahahahahahahahahahahahaahhahahahahahahahahahahahahahahahaahhahahahahahahahahahahahahahahahaahhahahahahahahahahahahahahahahahaahhahahahahahahahahahahahahahahahaahha
题目 3927 [CSP 2023J]小苹果
2024-09-22 11:05:44
|
|
回复 @father :
hahahahahahahahahahahahahahahahaahhahahahahahahahahahahahahahahahaahhahahahahahahahahahahahahahahahaahhahahahahahahahahahahahahahahahaahhahahahahahahahahahahahahahahahaahhahahahahahahahahahahahahahahahaahhahahahahahahahahahahahahahahahaahhahahahahahahahahahahahahahahahaahhahahahahahahahahahahahahahahahaahhahahahahahahahahahahahahahahahaahhahahahahahahahahahahahahahahahaahhahahahahahahahahahahahahahahahaahhahahahahahahahahahahahahahahahaahhahahahahahahahahahahahahahahahaahhahahahahahahahahahaha
题目 3927 [CSP 2023J]小苹果
2024-09-22 11:05:37
|
|
hahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahaha
题目 3927 [CSP 2023J]小苹果
2024-09-22 11:03:19
|
|
三年oi一场空,不开long long三年oi一场空,不开long long 见祖宗三年oi一场空,不开long long 见祖宗三年oi一场空,不开long long 见祖宗三年oi一场空,不开long long 见祖宗三年oi一场空,不开long long 见祖宗三年oi一场空,不开long long 见祖宗三年oi一场空,不开long long 见祖宗三年oi一场空,不开long long 见祖宗三年oi一场空,不开long long 见祖宗三年oi一场空,不开long long 见祖宗三年oi一场空,不开long long 见祖宗三年oi一场空,不开long long 见祖宗三年oi一场空,不开long long 见祖宗三年oi一场空,不开long long 见祖宗三年oi一场空,不开long long 见祖宗三年oi一场空,不开long long 见祖宗三年oi一场空,不开long long 见祖宗三年oi一场空,不开long long 见祖宗三年oi一场空,不开long long 见祖宗三年oi一场空,不开long long 见祖宗三年oi一场空,不开long long 见祖宗三年oi一场空,不开
题目 3927 [CSP 2023J]小苹果
2024-09-22 11:03:08
|
|
malegebi
题目 3927 [CSP 2023J]小苹果
2024-09-22 11:01:47
|
|
题目 3927 [CSP 2023J]小苹果
2024-09-22 11:00:01
|
|
回复 @haoshuai :
hahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahaha
题目 3927 [CSP 2023J]小苹果
2024-09-22 10:58:21
|
|
三年oi一场空,不开long long 见祖宗
题目 3927 [CSP 2023J]小苹果
2024-09-22 10:56:44
|
|
喵
|
|
超时。。。
|