Skip to content

修复此问题 - #251

Open
hahaen wants to merge 1 commit into
hcsp:masterfrom
hahaen:master
Open

修复此问题#251
hahaen wants to merge 1 commit into
hcsp:masterfrom
hahaen:master

Conversation

@hahaen

@hahaen hahaen commented Aug 16, 2021

Copy link
Copy Markdown
  • 这个PR解答了当前仓库中的题目(机器人会自动判题并合并当前PR)
  • 这个PR修复了当前仓库中的一些代码缺陷(机器人不会判题,而是由管理员来处理当前PR)

@hcsp-bot

Copy link
Copy Markdown
Contributor

🎉 感谢提交Pull Request!请稍等片刻,我们已经将其提交到CI进行检查,一旦有结果会立即通知您!

// 不要修改方法的参数类型
public static double divide(int a, int b) {
return a / b;
return ((double)a)/b;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

类型转换后应有空格。
'/' 后应有空格。
'/' 前应有空格。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants