反对define,从你我做起
  • 板块灌水区
  • 楼主Lawliet_Atticus
  • 当前回复7
  • 已保存回复7
  • 发布时间2024/8/23 19:06
  • 上次更新2024/8/23 19:14:05
查看原帖
反对define,从你我做起
1032660
Lawliet_Atticus楼主2024/8/23 19:06

在刷AT_abc的水题dp时看到相关讨论中一份代码,故尝试改错

然后发现一个dp题ta写了个贪心

然后看到了ta的define

#include<bits/stdc++.h>
using namespace std;
#define int long long
#define endl '\n'
#define PII pair<int,int>
#define tul tuple<int,int,int>
#define all(x) x.begin(),x.end()
#define cy cout<<"Yes"<<endl
#define cn cout<<"No"<<endl
#define lc rt<<1
#define rc rt<<1|1

我:6不改了

从前爱写#define int long long

然后某次惨淡地全部MLE

100pts→0pts100pts→0pts

晶石后人,望周知

2024/8/23 19:06
加载中...