2018年10月的全部文章
@kidultff

PAT-A 真题 – 1077 Kuchiguse

The Japanese language is notorious for its sentence ending particles. Personal preference of such particles can be considered as a reflection of the speaker's personality. Such a preference is called "Kuchiguse" and ...
  • 0
  • 0
@kidultff

PAT-A 真题 – 1023 Have Fun with Numbers

Notice that the number 123456789 is a 9-digit number consisting exactly the numbers from 1 to 9, with no duplication. Double it we will obtain 246913578, which happens to be another 9-digit number consisting exactly the numbers f ...
  • 0
  • 0
@kidultff

MySQL生成随机数

使用如下SQL中RAND函数即可生成 i ≤ R ≤ j 随机数:FLOOR(i + RAND() * (j – i + 1))在SQL命令行中输入:SELECT FLOOR(7 + (RAND() * 6));可以生成 7-12 (包括7和12)的正整数在 ...
  • 0
  • 0
@kidultff

PAT-A 真题 – 1073 Scientific Notation

Scientific notation is the way that scientists easily handle very large numbers or very small numbers. The notation matches the regular expression [+-][1-9].[0-9]+E[+-][0-9]+ which means that the integer portion has exactly one d ...
  • 0
  • 0