Pascal: randomize, seekeof, seekeoln, ansistring
C++: ios::sync_with_stdio(false), cin.tie(0)
使用这些特性可能导致莫名 RE。
因为要写新 OJ 了,这 OJ 不修了,大家自己注意不要用这些特性。
[ New Thread ]
MainBoard >> OJ评测系统BUG收集 |
worse @ 2016-06-10 21:26:43
|
whatadobe @ 2017-04-14 22:52:17
歪日,蜜汁RE了两次才看到这个= =
|
adminlight @ 2017-04-15 00:17:59
ios::sync_with_stdio(false) makes libstdc++ trying to accelerate I/O with pread(2) and pwrite(2).
They're mistakenly blacklisted by HUSTOJ developers. |
16140210046 @ 2017-04-19 21:41:15
看来运气不错···都用了,也没碰到RE
|
15020532236 @ 2018-03-25 16:22:36
<>
|
adminlight @ 2018-04-15 14:58:08
Due to a limitation of XDOJ source code encoding system, the source code should **only** contain ISO-8859-1 characters.
Do not use CJK characters (even in comments). |
UnknownObject @ 2018-11-16 15:05:01
where is the memset() function?
|
adminlight @ 2018-11-24 14:09:31
@UnknownObject Please read the C++11 and C99 standard.
|
worse @ 2019-04-25 20:41:12
Do not use <regex> since it's buggy on XDOJ and can lead to Runtime Error.
|
adminlight @ 2019-07-09 23:16:54
> Due to a limitation of XDOJ source code encoding system, the source code should **only** contain ISO-8859-1 characters.
> Do not use CJK characters (even in comments). This issue has been resolved. You can use CJK characters in source code now. But please be advise that GCC still refuses UTF-8 characters in identifier names: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67224 |
a6892255 @ 2019-07-23 16:00:30
还可以
|
adminlight @ 2020-11-28 02:51:56
> ios::sync_with_stdio(false), cin.tie(0)
Fixed so far. |
All Copyright Reserved 2010-2021 Xidian Programming Contest Online Judge TEAM
GPL2.0 2003-2014 HUSTOJ Project TEAM