SPJ挂了,求救
  • 板块学术版
  • 楼主U•ェ•*U
  • 当前回复2
  • 已保存回复2
  • 发布时间2024/3/26 14:57
  • 上次更新2024/3/26 18:33:09
查看原帖
SPJ挂了,求救
965558
U•ェ•*U楼主2024/3/26 14:57
//checker
#include "testlib.h"
#include<string>
int main(int argc, char* argv[]) {
	using std::string;
    registerTestlibCmd(argc, argv);
	int anss=10;
    while(!ans.eof()){
    	std::cout<<inf.readLine()<<' ';
    	std::cout<<inf.readLine()<<std::endl;
        string pans = ouf.readLine();
        string jans = ans.readLine();
        if (pans!=jans)anss-=2;

    }
    if(anss==0)quitf(_wa, "");
    else if(anss<10)quitf(_pc(anss),"");
    else quitf(_ok, "");
    return 0;

}
2024/3/26 14:57
加载中...