提交 d154fe41 编写于 作者: 栩xx's avatar 栩xx

exe文件上传,以及README.md文件的修改

上级 6e1f3204
无法预览此类型文件
项目:OlympicSearch
运行:使用控制台cmd运行,将input.txt放入与OlympicSearch.exe同一目录下并新建文件夹data用以保存数据Json文件,在控制台输入
OlympicSearch.exe input.txt output.txt后就会运行出结果,结果output.txt保存在与当前exe文件同一目录下
功能简介:读取input.txt的指令后从data文件夹下的数据json文件中读取相应的输出,最后输出到output.txt
指令total 则输出奖牌总榜
指令schedule+正确日期 则输出指定日期的赛程 如果是错误的日期则输出"N/A"
其他错误指令则输出"ERROR"
作业链接:https://bbs.csdn.net/topics/604903684
博客链接:
\ No newline at end of file
...@@ -5,8 +5,8 @@ ...@@ -5,8 +5,8 @@
int main(int argc, char* argv[]) int main(int argc, char* argv[])
{ {
//OlympicProgram test(argv[1], argv[2]); OlympicProgram test(argv[1], argv[2]);
OlympicProgram test("input.txt", "output.txt"); //OlympicProgram test("input.txt", "output.txt");
test.resolveInput(); test.resolveInput();
/*ofstream outfile("input.txt"); /*ofstream outfile("input.txt");
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册