博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
常用板子
阅读量:4507 次
发布时间:2019-06-08

本文共 1797 字,大约阅读时间需要 5 分钟。

写题板子

#include 
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#define ll long long#define inf 0x3f3f3f3f#define il inlinenamespace io {#define in(a) a = read()#define out(a) write(a)#define outn(a) out(a), putchar('\n')#define I_int llinline I_int read() { I_int x = 0, f = 1; char c = getchar(); while (c < '0' || c > '9') { if (c == '-') f = -1; c = getchar(); } while (c >= '0' && c <= '9') { x = x * 10 + c - '0'; c = getchar(); } return x * f;}char F[200];inline void write(I_int x) { if (x == 0) return (void) (putchar('0')); I_int tmp = x > 0 ? x : -x; if (x < 0) putchar('-'); int cnt = 0; while (tmp > 0) { F[cnt++] = tmp % 10 + '0'; tmp /= 10; } while (cnt > 0) putchar(F[--cnt]);}#undef I_int}using namespace io;using namespace std;#define N 100010int main() { }

对拍板子

对拍代码

#include 
#include
using namespace std;#define N 100010int main() { int C = 0; while(1) { system("maker.exe"); system("bf.exe"); Sleep(500); system("std.exe"); //Sleep(500); if(system("fc bf.out std.out")) { printf("wa on test #%d\n", ++C); break; } else printf("ac on test #%d\n", ++C); }}

maker板子。

#include 
using namespace std;#define ll long longinline ll random(ll n) { return (ll)rand() * rand() % n;}char in[10][10] = {"1.in", "2.in", "3.in", "4.in", "5.in", "6.in", "7.in", "8.in", "9.in", "10.in"};char out[10][10] = {"1.out", "2.out", "3.out", "4.out", "5.out", "6.out", "7.out", "8.out", "9.out", "10.out"};int main() { freopen("data.in", "w", stdout); }

转载于:https://www.cnblogs.com/henry-1202/p/10473370.html

你可能感兴趣的文章
20162318 2016-2017-2 《程序设计与数据结构》第4周学习总结
查看>>
nginx backup 功能
查看>>
babel 7.x 和 webpack 4.x 配置vue项目
查看>>
魅族MX3 smart bar处失灵
查看>>
Hibernate第一个程序(最基础的增删改查) --Hibernate
查看>>
bzoj1296: [SCOI2009]粉刷匠
查看>>
LC-601 体育馆人流量
查看>>
2.App Components-App Widgets
查看>>
POJ 2481 Cows【树状数组】
查看>>
实习生面试--算法题之字符串最长公共子序列长度
查看>>
RHEL7网卡设置
查看>>
信息收集之网站镜像克隆
查看>>
StringBuffer类概述及其构造方法
查看>>
异或序列
查看>>
C#将字符串转换为整型的三种方法的总结
查看>>
26.集群笔记目录
查看>>
C#委托与事件
查看>>
RMQ入门
查看>>
sql server 日期时间数据类型
查看>>
浅谈Ionic2
查看>>