/ Vijos / 讨论 / Vijos /

Vijos第一题A+B Problem都过不了?!

我代码:vara,b:integer;beginread(a,b);write(a+b);end.

编译失败...|错误号:1Free Pascal Compiler version 2.2.0 [2007/09/09] for i386 Copyright (c) 1993-2007 by Florian Klaempfl Target OS: Win32 for i386 Compiling MyProger\Prog91776.pas Prog91776.pas(1,4) Fatal: Syntax error, "identifier" expected but "ordinal const" found Fatal: Compilation aborted Error: Compiler\FPC\bin\i386-win32\ppc386.exe returned an error exitcode (normal if you did not specify a source file to be compiled) 

直接把答案复制进去:program Plus; var a,b:longint; begin readln(a,b); writeln(a+b); end. 

编译失败...|错误号:1Free Pascal Compiler version 2.2.0 [2007/09/09] for i386 Copyright (c) 1993-2007 by Florian Klaempfl Target OS: Win32 for i386 Compiling MyProger\Prog91776.pas Prog91776.pas(1,4) Fatal: Syntax error, "identifier" expected but "ordinal const" found Fatal: Compilation aborted Error: Compiler\FPC\bin\i386-win32\ppc386.exe returned an error exitcode (normal if you did not specify a source file to be compiled) 

这什么情况?!

2 条评论

  • @ 2010-03-08 21:19:44

    谢谢LS。。。

    问题解决了,原来是Vijos不支持WEBKIT核心浏览器,我用Chrome,我换成IE内核提交就AC了。。。囧`\

  • @ 2010-03-08 20:46:12

    请使用IE浏览器。

  • 1