跳转到内容
View in the app

A better way to browse. Learn more.

彼岸论坛

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.
欢迎抵达彼岸 彼岸花开 此处谁在 -彼岸论坛

[程序员] 代码随想录判题网站判题异常

发表于
如题,周末偶尔去代码随想录的题库巩固基础,最近几周做的是 dfs 和 bfs 的题目,使用的语言是 golang ,然而对于同一份代码,多次提交会有不同的结果,有的时候是 AC ,有的时候提示运行错误(潜在的数组越界),有的时候提示 TLE ,一开始我还对着他的题解一行行对过代码,确认无误后自己又在一些关键位置 println 一下可能数组越界的地方,然后我加上这一段判断越界并 println 的代码后(确认过和答案输出无关),居然 AC 了,当我删掉这段代码后,又提示数组越界了。
一开始我是觉得我可能太久没刷题了,可能某些地方没注意到,直到刚刚同一份代码提交过去会出现三种不同的结果,我开始怀疑是网站的问题了。

Featured Replies

No posts to show

创建帐户或登录来提出意见

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.