Replies: 0 comments 8 replies
-
这个三目运算还是没懂,望博主详解。 |
Beta Was this translation helpful? Give feedback.
-
K记录多少个关键字数 |
Beta Was this translation helpful? Give feedback.
-
感谢 @pzzpl 的解答,OJ做的少还是第一次见这种操作。 |
Beta Was this translation helpful? Give feedback.
-
谢谢分享,写的真好 |
Beta Was this translation helpful? Give feedback.
-
你好,我有一个疑惑,我不小心把第28行的语句写在了第24行的if语句的范围外然后就不能全部通过了,我想请教下为什么会这样。 |
Beta Was this translation helpful? Give feedback.
-
我猜测是虽然会遇到j<i, 但可能j并未被"覆盖", 依然需要26,27行进行处理. |
Beta Was this translation helpful? Give feedback.
-
if(j < i) break; /* did this before, no need going on */这里 |
Beta Was this translation helpful? Give feedback.
-
好像只是节省了一步。。。貌似可以省掉
这个输入, |
Beta Was this translation helpful? Give feedback.
-
https://oliverlew.github.io/PAT/Basic/1005.html
题目
Beta Was this translation helpful? Give feedback.
All reactions