【Codevs1346】HelloWorld编译器

http://codevs.cn/problem/1346/

可怜我战绩

// <1346.cpp> - 10/30/16 17:12:09
// This file is made by YJinpeng,created by XuYike's black technology automatically.
// Copyright (C) 2016 ChangJun High School, Inc.
// I don't know what this program is.

#include <iostream>
#include <algorithm>
#include <cstdio>
#include <ctime>
using namespace std;
int main()
{
	freopen("1346.in","r",stdin);
	freopen("1346.out","w",stdout);
    srand(time(NULL));
	int x=rand()%3;
    if(x==0)cout<<"AC";
    else if(x==1)cout<<"WA";
    else cout<<"CE";
	return 0;
}
原文地址:https://www.cnblogs.com/YJinpeng/p/6036150.html