首页 > 其他 > 详细

对拍程序

时间:2017-04-22 13:54:42      阅读:200      评论:0      收藏:0      [点我收藏+]
技术分享
#include<bits/stdc++.h>
using namespace std;
int main()
{
    int T; scanf("%d", &T);
    while(T--)
    {
        system("data > input.txt");
        system("a+b < input.txt > 1.out");
        system("test < input.txt > 2.out");
        if(system("fc 1.out 2.out")) 
        {
            system("pause");
            break;
        } 
    }
    return 0;
}
View Code

 

对拍程序

原文:http://www.cnblogs.com/19992147orz/p/6747375.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!