| ||||||||||
Online Judge | Problem Set | Authors | Online Contests | User | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest |
不知这是不是OJ系统的一个bug?当注释中包含“中”字,会造成Compile Error、Wrong answer如果在代码里面的注释中包含了一个"中"字的话,会造成Compile Error、Wrong answer,比如 1000题吧(语言C++) 1、可以AC #include <iostream> using namespace std; int main() { int a,b; cin >> a >> b; cout << a+b << endl; return 0; } 2、Wrong answer #include <iostream> using namespace std; int main() { int a,b;//中 cin >> a >> b; cout << a+b << endl; return 0; } 3、Compile Error #include <iostream> using namespace std; int main() { //中 int a,b; cin >> a >> b; cout << a+b << endl; return 0; } Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator