[openjudge使用指南.pptVIP

  • 52
  • 0
  • 约5.33千字
  • 约 21页
  • 2017-01-11 发布于北京
  • 举报
[openjudge使用指南

openjudge使用指南 Evaluation only. Created with Aspose.Slides for .NET 3.5 Client Profile 5.2.0.0. Copyright 2004-2011 Aspose Pty Ltd. sdau.openjudge.cn Evaluation only. Created with Aspose.Slides for .NET 3.5 Client Profile 5.2.0.0. Copyright 2004-2011 Aspose Pty Ltd. Evaluation only. Created with Aspose.Slides for .NET 3.5 Client Profile 5.2.0.0. Copyright 2004-2011 Aspose Pty Ltd. Evaluation only. Created with Aspose.Slides for .NET 3.5 Client Profile 5.2.0.0. Copyright 2004-2011 Aspose Pty Ltd. Evaluation only. Created with Aspose.Slides for .NET 3.5 Client Profile 5.2.0.0. Copyright 2004-2011 Aspose Pty Ltd. Evaluation only. Created with Aspose.Slides for .NET 3.5 Client Profile 5.2.0.0. Copyright 2004-2011 Aspose Pty Ltd. 几点说明 提交程序时必须采用 从标准输入读取数据,向标准输出写入数据的方式。 在C++程序中用 “cin ”、“cout” 在c程序中用scanf, printf 你的程序不能向标准输出写入任何多余的数据,否则将会得到“答案错误 (Wrong Answer)”的结果。 你的程序不能从任何文件中输入/输出数据,否则将会得到“运行时错误(Runtime Error)”或者“答案错误 (Wrong Answer)”的结果。 注意:在G++/GCC程序中,main()函数的返回值类型必须是“整型(int)”,否则将得到“编译错误(compile error)”。 一定按照要求进行输入输出; error Error Evaluation only. Created with Aspose.Slides for .NET 3.5 Client Profile 5.2.0.0. Copyright 2004-2011 Aspose Pty Ltd. presentation error 输出格式不符合要求 compile error 编译错误 Evaluation only. Created with Aspose.Slides for .NET 3.5 Client Profile 5.2.0.0. Copyright 2004-2011 Aspose Pty Ltd. 输入输出格式 Evaluation only. Created with Aspose.Slides for .NET 3.5 Client Profile 5.2.0.0. Copyright 2004-2011 Aspose Pty Ltd. * * ACM题目特点 由于ACM竞赛题目的输入数据和输出数据一般有多组(不定),并且格式多种多样,所以,如何处理题目的输入输出是对大家的一项最基本的要求。这也是困扰初学者的一大问题。 下面,分类介绍: Evaluation only. Created with Aspose.Slides for .NET 3.5 Client Profile 5.2.0.0. Copyright 2004-2011 Aspose Pty Ltd. * * 一个超级简单的题目(ex-1): Problem Description Your task is to calculate a + b. Input The input will consist of a series of pairs of integers a and b, separated by a space, one pair of integers per line.? Output For each pair of input integers a and b you should output the sum of a and b in one line, and with one line of ou

文档评论(0)

1亿VIP精品文档

相关文档