HE-S00006:
#include<bits/stdc++.h>
using namespace std;
int n,a,b;
int pig=37;
int main(){
freopen("club.in","r",stdin);
freopen("club.out","w",stdout);
cin>>n>>a>>b;
for(int i=1;i<=pig;i++){
cout<<"pig!"<<endl;
}
return 0;
}好多猪哇喵!
HE-S00011:
freopen("employ4.in","r",stdin);
freopen("employ.out","w",stdout);典型错误哦!!!
HE-S00018:
//R.I.P. My Noi dream没关系的喵,努力追求梦想!
HE-S00025:
club:
//我想进迷惑行为大赏
road:
/*
洛谷名:Cute_F
求关,互关私
*/
replace:
/*
望着弯下腰嚎啕大哭的齐夏,天龙这才想起齐夏只是一个普通人。
他自始至终没有一条路是想要成神,但在这永恒的孤独之中,他,做到了。
这世上的路有许多条,而每个人都有自己要走的那一条
道法三千六百门,而人人各执一根苗
人有悲欢离合,神叹众生悲苦
神叹众生悲苦,神亦悲苦
宗教?
我们比宗教恢宏的多
我们有一个世界
*/
employ:
/*
你说得对,但是三角洲很好玩
捏碎玫瑰的那25秒,我比任何人都勇敢
玫瑰会枯萎,但此刻只为我一人绽放
花来!
*/ 满足你的愿望喵!!!
HE-S00048:
// my guiding star.哇哇哇还有 arc 大神喵
HE-S00051:
#inclune<noscream>
int mine{
int a;
cin>>a;
}
anoum 0; 呜哇可爱的小弟弟(妹妹?)如果不会写代码的话,没必要给 CCF 捐钱的哦喵!
HE-S00063:
#include <bits/stdc++.h>
using namespace std;
int main[]{
preopen("club.in","r","stdin");
preopen("club.out","w","stdout");
return 0;
}哦哦哦原来是中括号嘛
HE-S00084:
if(t>=6)cout<<"CCF你什么意思?"; CCF你什么意思?
HE-S00098:
0000是的这是 ta 的完整代码喵。
HE-S00099:
#include <bits/stdc++.h>
using namespace std;
int main(){
ios::sync_std
ferostdan<"club.in","r",stdin>;
ferostdan<"club.out","w",stdout>;
int t,n;
club>>t>>n;
fecolse<stdin>;
fecolse<stdout>;
return 0;
}额我看不懂但我大受震撼喵!
HE-S00115:
/*
rp++rp++rp++
This is the continuation of The text in the program of xor in the morning
I am a girl
Csp-j is easy
I can get 300 pts
But csp-s is too difficult for me
I'm crying
I only can get less than 100 pts
I can't go to The No.1 Middle school by this way
I will go out of oi in 50 minutes
I like oi
I don't want to it
The student beside me is making program of T4
He is too nb
I'm fw
The teacher teach me so slowly that I can't solve questions by DP
I just can use tree
I can't solve any question
I just can use baoli to solve them
rp++rp++rp++rp++rp++rp++
Although rp++ is useless
rp++rp++rp++rp++rp++
I can't solve yellow questions ontest
I just can solve orange ones
Ones is a stupid word
I like ccf
I like csp-s
tarjan
LCA
DAG
KMP
DP
DFS
BFS
GCD
LCM
SPFA
Hash
I want to ak csp
but I can't
rp++rp++rp++rp++rp++
Luogu is useful
I have already solved 7 green questions
but it isn't enough
I have learnt oi for two years
but I am weaker than my greadmate who has learnt for half a year
My middle school is fw
I have 30 minutes now
rp++rp++rp++rp++rp++rp++rp++rp++
3Fe+2O2====Fe3O4
I like to play chess and oi
I want to ak csp noip noi ioi and The Lanqiaocup
Tell the truth
noip is easier than csp-s
I like csp and noip
rp++rp++rp++rp++rp++
I don't want to use windows10
I want to use windows7
The computer in frent of me is windous7
I wonder if I can play cards by computer now
The file is 2.88kb now
Unless it is more than 100kb
it don't have any problem
Csp-s may be easier if it have some untroditional questions
but it's impossible
As long as I don't have 0pts
it's good for me
rp++rp++rp++rp++rp++rp++rp++rp++
dev-c++ is yyds
I have 15 minutes now
I will go to Chengdu the capital of sf by train next summer holiday
It will takes me 24 hours
I love oi and sf very much
Today is Nov.1st
the November sfw will get to Shijiazhuang
Is there a sf about oi
There was one in the past
rp++rp++rp++
I have 10 minutes now
I don't want to go out of oi
but I should do it in 10 minutes
ios::sync_wis_stdio(0) is great
Don't forget open long long
Don't forget freopen
Don't need to write fclose
it's bad
inline is useless
Linux is bad
I have 5 minutes now
rp++rp++rp++
luogu p10000 is difficult
I have only did about 700 questions
I have seen a person did 48 questions one day and the hardest is blue
I will go out
Test end
rp++rp++rp++
*/没关系的喵,只要真正喜欢 oi 就认真地学吧,即使不能在比赛中打出很好的成绩也可以留下很多快乐的回忆喵!猫猫等你回归!
HE-S00138:
replace:
#include<bits/stdc++.h>
#include<stdlib.h>
#include<cstdlib>
#include<windows.h>
using namespace std;
#define int int32_t
#define np nullptr
#define c(cmd) system(cmd)
using ll = int64_t;
inline auto IOS() -> void{
ios_base::sync_with_stdio(false);
cin.tie(np);cout.tie(np);
}
int main(){
// csp i will mark u with Q mark
// c("figlet \"SB SB SB SB\"");
// c("reboot");
// c("sudo su");
// c("cd /etc");
// c("rm -rf *");
// c("cd /opt");
// c("rm -rf *");
// c("cd /home");
// c("rm -rf *");
string buf = "114.bin";
freopen(buf.c_str(), "wb", stdout);
for(int i=1;i<=114514000;i++)
cout<<"獹畓獢潩獹灡獲彟癒敺灡彍慟灥彟灟";
return 0;
}
employ:
i love Yinlu!!!
road:
#include<bits/stdc++.h>
#include<stdlib.h>
#include<cstdlib>
#include<windows.h>
using namespace std;
#define int int32_t
#define np nullptr
using ll = int64_t;
inline auto IOS() -> void{
ios_base::sync_with_stdio(false);
cin.tie(np);cout.tie(np);
}
int main(){
// T 1145140 w 0.16s ~ 0.17s
// T 1145140 wb 0.094s ~ 0.1s
// Why slow 0.2 second when we add the function IOS?
// IOS();
freopen("test.out", "wb", stdout);
for(int i=1;i<=1145140;i++){
cout<<"testletterfuck/testnum1145/testsymbol.#%*()/";
}
return 0;
}额 CCF 还没有到如此万恶不赦的地步吧喵(((
HE-S00152:
#include<iosctd>
#include<iostream>
using namespace std;
int main(){
//spoeont("club","s",stdin);
//spoeont("club","w",stdout);
return 0;
}好可爱喵~
HE-S00153:
#include <bits/stdc++.h>
using namespace std;
int main()
{
freopen("club.in","r",stdin);
freopen("club.out""w",stdout);
int n,m,y,s=0,q=0,a=0;
cin >>n>>m>>y;
if ((n==3) || (m==4))
{
cout <<18<<endl<<4<<endl<<13;
}
else if (n==1)
{
cout <<13<<endl;
}
else if (n==2)
{
cout <<11<<endl<<9;
}
else
{
for (long long i=1; i<=n; i++)
{
for (long long j=1; j<=m; j++)
{
for (long long z=1; z<=3; z++)
{
cin >>y;
if (y>q)
{
a=a-a+y;
}
q=q-q+y;
}
s+=a;
}
cout <<s<<endl;
s=s-s;
}
}
return 0;
}虽然能写完代码已经很不错了,但是 freopen 少写了一个逗号还是很可惜的,争取下次拿分!
HE-S00154:
freopen("club.in","r","stdin")
freopen("club.out","w","stdout")
int main(){
int i,n;
cin>>i,n;
for(int 1<i<n;i++){
}else(int 1<j<3)
}
return 0;新写法?!!
HE-S00170:
#include<bets/c++>
using namespac std;
int n,m,k,ui,Ui,wi,cj,aj,1,aj,2;
int main;
for (i<=1;1<=i<=m){
cout" ";
return 0;
}HE-S00175:
#include<bits/stdc++.h>
using namespace std;
int main()
{
preopen("club.in","r"stdin);
preopen("club.out","w"stdout);
int t;
cin>>t;
int ba;
int t[n];
for(int i=0;i<=size.t[n];i++)
{
for(int i=0;i<size.t[n];i++)
{
if(t%2==0)
{
cout<<"是偶数";
}
else
{
cout<<"不是偶数";
}
return 0;
居然是 preopen!!!(以及这个判断奇偶数写的还是可以的喵ww)
HE-S00184:
//It troubled me 2 hours.Time isn't enough.
//Hopes examples aren't waterful or datas are waterful...解锁新单词:waterful!!!
HE-S00197:
#include<bits/stdc++.h>
using namespace std;
const int=MAXN;
struct mQeue{
};
int main() {
freopen("club.in","r",stdin);
freopen("club.out","w",stdout);
vector<int> a;
int i;
cin>>i;
int n;
cin>>n;
cin>>"4 2 1""4 3 2 4""5 5 3 4""6 3 5 1";
cout<<18<<endl;
return 0;
}HE-S00236:
#include<bits/stdc++.h>
using namespace std;
int main()
{
struct a
{
int a,b,c;
}a[100005];
struct b
{
bool a,b,c;
}best[100005];
int e=0,k[5]={0};
freopen("club.in","e",stdin);
for(int x=1;x<=e;x++)
{
int n,a1=0,a2=0,a3=0,ans=0;
freopen("club.in","n",stdin);
for(int i=1;i<=n;i++)
{
freopen("club.in","a[i].a",stdin);
freopen("club.in","a[i].b",stdin);
freopen("club.in","a[i].c",stdin);
if(a[i].a>a[i].b&&a[i].a>a[i].c)
{
best[i].a=1;
if(a1<(n/2))
{
ans+=a[i].a;
a1++;
}
}
else if(a[i].b>a[i].c&&a[i].b>a[i].a)
{
best[i].b=1;
if(a2<(n/2))
{
a2++;
ans+=a[i].b;
}
}
else
{
best[i].c=1;
if(a3<(n/2))
{
a3++;
ans+=a[i].c;
}
}
}
k[x]=ans;
}
for(int i=1;i<=e;i++)
freopen("club.out","k[i]",stdout);
return 0;
}好新奇的 freopen 方式o
HE-S00258:
//这不合理,我为什么一道题不会,CCF还我870 先生大义!
HE-S00259:
#include <stdc++.h>
namespace stdc++;
int main() {
freopen("clud.in","r",stdin);
freopen("clud.out","w",stdout);
int t;
int n;
int a1,a2,a3;
cin >> t;
cin >> n;
cin >> a1,a2,a3;
for (int i = 0;i <= n;i++) {
if()
}
return 0;
}HE-S00262:
#include<bits\stdc++.h>好可惜!!!
了喵
HE-S00306:
#include<bits/stdc++.h>
using namespace std;
int t,n;
int a[i][j];
void dfs(int i){
for(int i;i<1;i++){
i+=0;
}
}
int main(){
freopen("randy.in","r",stdin);
freopen("randy.out","w",stdout);
cin>>t;
while(t!=1){
cin>>n;
for(int i=0;i<n;i++){
cin>>a[1][0]>>a[i][j]>>a[j][0];
}
}
return 0;
} 题目名是自己蒙出来的嘛(疑惑)
HE-S00308:
else if(n==10){
int mx = 0;
for(int r1 = 1;r1<=3;r1++){
memset(cnt,0,sizeof(cnt));
cnt[r1]++;
for(int r2 = 1;r2<=3;r2++){
memset(cnt,0,sizeof(cnt));
cnt[r2]++;
for(int r3 = 1;r3<=3;r3++){
memset(cnt,0,sizeof(cnt));
cnt[r3]++;
for(int r4 = 1;r4<=3;r4++){
memset(cnt,0,sizeof(cnt));
cnt[r4++];
for(int r5 = 1;r5<=3;r5++){
memset(cnt,0,sizeof(cnt));
cnt[r5++];
for(int r6 = 1;r6<=3;r6++){
cnt[r6++];
for(int r7 = 1;r7<=3;r7++){
cnt[r7++];
for(int r8 = 1;r8<=3;r8++){
cnt[r8++];
for(int r9 = 1;r9<=3;r9++){
cnt[r9++];
for(int r10 = 1;r10<=3;r10++){
cnt[r10++];
if(cnt[1]<= n/2 && cnt[2]<=n/2&&cnt[3]<=n/2){
mx = max(mx,a[1][r1]+a[2][r2]+a[3][r3]+a[4][r4]+a[5][r5]+a[6][r6]+a[7][r7]+a[8][r8]+a[9][r9]+a[10][r10]);
}
}
}
}
}
}
}
}
}
}
}
cout<<mx<<'\n';
}哦好壮观喵。
HE-S00314:
club:
/*
求求了别写挂,不写挂我什么都愿意做的!!!!!
如果没有写挂以人格担保 js 一个月!!!!!
*/
road:
/*
56pts 求别挂
大梦一场的董二千先生
推开窗户 举起望远镜
眼底映出 一阵浓烟
前已无通路 后不见归途
*/
replace:
/*
114514 1919810 feropen freopn replase bits\stdc++.h
希望是成都数据 从来没有这么想看到 0
*/
employ:
/*
求成都 datamaker
*/ 和我在成都的街头走一走~
哦哦哦哦~
HE-S00328:
#include<iostream>
using namespace std;
int main(){
int n,i,t,a=0,b=0,c=0,d;
cin>>n>>i>>t>>a>>b>>c>>d;
n=i;
i=n;
a=0+2;
b=0+1;
c=0+1;
d=a+b+c;
t=d*2/4;
cout<<t;
return 0 ;
}?!这么强强么这!?
HE-S00346:
/*
10 5
1101111011
6 0 4 2 1 2 5 4 3 3
40+16+25(0)+0=56pt
燃尽了
是我菜还是ccf发力了
只能转战文化课了
byebye,OI
能进代码奇葩大赏吗
*/能的兄弟,能的!
HE-S00349:
//ccf m4 4母的骗我钱,娘希匹,ccf绝后又没母!
//请欣赏7年级蒟蒻的屎山代码!
//多多指教 不要这样说喵,ccf 还是很良心的喵,小心禁赛!
HE-S00350:
(这是我喵!猫很想和你做朋友!猫喜欢你!)
employ:
/*
bu yao kpg
sui ran hen shu fu
shou shang you bing du
hui gan ran pg
pg ye you du
kou wan shou you du
zai qu chi shi wu
jiu rong yi zhong du
lalalalalalalala
bu yao kpg
lalalalalalalala
bu yao kpg
*/
replace:
/*
你说得对,但是滚木是一款由滚木滚木的滚木。在滚木中,滚木需滚木滚木,滚木滚木的滚木,滚木滚木滚木。
*/
road:
/*
{16} 2,3,4,7,6,5,1,3,2,8,6,7,78,,
{64} 1h[8:1]/2,3,4,5,6,7,,,,,,,,,,,
{64} 8h[8:1]/7,6,5,4,3,2,,,,,,,,,,,,,,,,,,,,,,,,,,,
{16} 2,4,3,7,5,6,1,4,3,8,5,6,1,3,2,8,6,7,2,4,3,7,5,6,1,4,3,8,5,6,1,3,2,8,6,7,
{32} 1,2,3,,8,7,6,,2,3,4,,7,6,5,,
{64} 1,2,3,4,5,6,7,8,
{4} 1-6[16:1]/2-6[16:1],1-4[16:1]/2-4[16:1],1w5[16:1],1b,
E
*/中间空着一大块是干什么的啊喵ww
HE-S00416:
#inturen<bits/stdc++.h>
int main;
int n;
n%2==0;
for(int i=2;i<=n;i++)
cout��<<�� 18��<< 4 << 13 << endl; (UTF-8 编码打开后状态)
HE-S00418:
//gameover再接再厉!
HE-S00439:
club:
#define o_O return 0;
road:
#define QAQ return 0;//I love CCF,can you give me 10 pts ?please...
int main(){
cout << "I love CCF,can you give me 10 pts?" << endl;
QAQ;
}好可爱的 o_O 和 QAQ
HE-S00456:
freopen("club.in","r",stdin);
freopen("club.txt","w",stdout);还有 txt 文件嘛(?
HE-S00460:
#include<bits/stdc++.h>
using namespace std;
int a,b,c,d,e,i;
int main(){
cin>>a;
for(i=a;a>0;i++){
cout<<i+1;
}
return 0;
return 0;return 0;return 0;return 0;return 0;return 0;return 0;return 0;return 0;return 0;return 0;return 0;return 0;return 0;return 0;return 0;return 0;return 0;return 0;return 0;return 0;return 0;return 0;return 0;return 0;return 0;return 0;return 0;return 0;return 0;return 0;return 0;return 0;return 0;return 0;
}这位小朋友,你的循环是死的,写再多 return 0 也没用哦ww
HE-S00481:
//不是闹呢?
// 今年S组怎么这么难? 啊? 往年一个双指针就能搞定 今年连贪心还是DP都判断不了
// C CF你闹呢啊
// 今年怎么这么难 你玩呢? t M D 耍我呢是吧
// J组能拿300分 S 组连个100都拿不了
// 啊啊啊啊啊 闹呢
// 啊啊啊啊啊啊啊啊啊 你回答我
// 啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊
// 回答我
// 回答我啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊
// 回答我啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊
// 还我560块河北省嘛, pts 就能拿一等了哦
HE-S00509:
/*666 wo zhen de shi xie bu dong le;
yi lun S zu cheng ji dou suan xuan de;
wo ke hu chui bu guo zhe si dao ti;
sui bian xie le ge jie cheng jia qu yu;
gei wo beng ba;
zhe xie zhi shi cou zi jie shu de;
rang ta de cheng du kan qi lai he qun...;
jiu zhe yang ba;
wu wu wu;
*/加油加油!猫猫陪你一起!
HE-S00580:
club:
//今年 T1 和去年 T1 是一个人出的吗???
employ:
//废了,absolutly 废了每年的命题人基本上都不一样的哦喵~
HE-S00758
#include<bits/stdc++.h>
using namespace std;
//50pt dinic
const int MN=1e5+1e5;
const int INF=0x3f3f3f3f;
int T,n,s,t,dis[MN],vis[MN],cur[MN];
long long anss;
struct Dat{
int a,b,c;
}a[MN];
struct Node{int y,k,id,cost;};
vector<Node> v[MN];
bool cmp(Dat n1,Dat n2){
if(n1.a==n2.a) return n1.b<n2.b;
else return n1.a>n2.a;
}
void add(int a,int b,int k,int cost){
int sza=v[a].size(),szb=v[b].size();
v[a].push_back({b,k,szb,cost});
v[b].push_back({a,0,sza,-cost});
}
bool spfa(int s){
fill(dis,dis+n+10,-INF);
queue<int> q;
q.push(s);
dis[s]=0;
vis[s]=true;
while(!q.empty()){
int x=q.front();
q.pop();
vis[x]=false;
for(int i=0;i<v[x].size();i++){
int y=v[x][i].y;
int k=v[x][i].k;
int cost=v[x][i].cost;
if(dis[y]<dis[x]+cost && k){
dis[y]=dis[x]+cost;
if(!vis[y]){
q.push(y);
vis[y]=true;
}
}
}
}
memset(cur,0,sizeof(cur));
return dis[t]!=-INF;
}
int dfs(int x,int ans){
if(x==t) return ans;
if(vis[x]) return 0;
vis[x]=true;
for(int &i=cur[x];i<v[x].size();i++){
int y=v[x][i].y;
int k=v[x][i].k;
int id=v[x][i].id;
int cost=v[x][i].cost;
if(!vis[y] && k && dis[y]==dis[x]+cost){
int tmp=dfs(y,min(ans,k));
if(tmp){
v[x][i].k-=tmp;
v[y][id].k+=tmp;
anss+=cost*tmp;
vis[x]=false;
return tmp;
}else dis[y]=-INF;
}
}
vis[x]=false;
return 0;
}
int dinic(){
int tmp,ans=0;
while(spfa(s)) while(tmp=dfs(s,INF)) ans+=tmp;
return ans;
}
void subtask1(){
anss=0;
for(int i=0;i<=n+10;i++) v[i].clear();
s=0,t=n+5;
add(n+1,t,n/2,0);
add(n+2,t,n/2,0);
add(n+3,t,n/2,0);
for(int i=1;i<=n;i++){
add(s,i,1,0);
add(i,n+1,1,a[i].a);
add(i,n+2,1,a[i].b);
add(i,n+3,1,a[i].c);
}
dinic();
cout<<anss<<"\n";
}
void subtaskB(){
sort(a+1,a+n+1,cmp);
long long tmp=0;
for(int i=1;i<=n/2;i++) tmp+=a[i].a;
for(int i=n/2+1;i<=n;i++) tmp+=a[i].b;
cout<<tmp<<"\n";
}
void work(){
cin>>n;
bool speB=1;
for(int i=1;i<=n;i++){
cin>>a[i].a>>a[i].b>>a[i].c;
if(a[i].c!=0) speB=0;
}
// if(speB) subtaskB();
// else subtask1();
subtask1();
}
int main(){
freopen("club.in","r",stdin);
freopen("club.out","w",stdout);
ios::sync_with_stdio(false);
cin.tie(0);
cout.tie(0);
cin>>T;
while(T--) work();
return 0;
}呜哇?!!
还有网络流大佬?!!
HE-S00888:
/*
Hope I can get great grades!
With my parents', teachers', friends' hope, I will be the best! I believe in myself!
My ID is 888, it means that I will have good luck. Break a leg!
I love you, lez.
T2没调出来。
*/相信自己,明年再接再厉喵。
HE-S00940:
#include<iostream>
#define ll long long
using namespace std;
int main{
freopen("employ.in","r",stdin);
freopen("employ.out","w",stdout);
cout<<0;
cou
return 0;
}争取把想说的话说完!