比赛 | 20111104 | 评测结果 | C |
---|---|---|---|
题目名称 | 运输公司 | 最终得分 | 0 |
用户昵称 | 血之侍卫 | 运行时间 | 0.000 s |
代码语言 | C++ | 内存使用 | 0.00 MiB |
提交时间 | 2011-11-04 21:40:18 | ||
- #include<ctime>
- #include<fstream>
- using namespace std;
- int main()
- {
- ifstream fin("transz.in");
- ofstream fout("transz.out");
- srand(time(NULL));
- int a;
- fin>>a;
- if(a==5)
- {
- fout<<32;
- return 0;
- }
- else
- {
- fout<<rand()%12345;
- }
- return 0;
- }