Code Monkey home page Code Monkey logo

c-language-program-design-advanced-course-problem's Introduction

学堂在线的C++语言程序设计进阶答案

课程地址

乱七八糟

一个比较扯淡的事情,在C10-1提交的时候,显示结果是提交不能被检查,
反复检查程序没有错误之后,以为是提交系统抽风了。
然后在做10-3题的时候,也是出现了类似的结果,
偶尔提交完成后,返回结果中其中一例为正确,其他为错误。
恰好10-3是做字符串匹配,于是就想到是不是中间有空格,
测试系统对程序的输出形式也许是没有空格的,奇葩的是输入和输出范例上全都是以回车结束的,  
(没有想到的原因是:题目是字符串匹配,这个问题一般来说中间是有空格的)
恰好这个程序中读入函数使用的是getline而不是cin,于是乎换成cin读入,提交一次成功,结果也全对,
于是乎c10-1也改掉,也是一次正确并通过。。。
似乎这个提交系统对于这个支持并不是很好,醉了

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.