关于CSP时的码风
  • 板块灌水区
  • 楼主Wunsch
  • 当前回复10
  • 已保存回复10
  • 发布时间2023/10/16 17:15
  • 上次更新2023/11/2 13:26:38
查看原帖
关于CSP时的码风
889845
Wunsch楼主2023/10/16 17:15

这么写应该没逝吧


#include"algorithm"
#include"iostream"
#include"cstring"
#include"climits"
#include"cstdio"
#include"random"
#include"string"
#include"bitset"
#include"ctime"
#include"queue"
#include"map"
#define ls o<<1
#define rs o<<1|1
#define db double
using ll = long long;
// #define int long long

#define  f(i,a,b) for(int i=a;i<=b;i++)
#define ff(i,a,b) for(int i=a;i>=b;i--)

using namespace std;

ll rd()<%ll x=0,w=1;char c=getchar();while(c<'0'||c>'9')<%if(c=='-')w=-1;c=getchar();%>while(c<='9'&&c>='0')<%x=x*10+(c-'0');c=getchar();%>return x*w;%>

namespace Wunsch{

    bool main(){
        freopen("a.in","r",stdin);
        freopen("a.out","w",stdout);
        
        // cout<<(db)clock()/CLOCKS_PER_SEC;
        fclose(stdin);
        fclose(stdout);
        return 1;
    }
    
}

bool sbybw=Wunsch::main();

main(){;}
2023/10/16 17:15
加载中...