How many different values are there in 1087 [PAT (Basic Level) Practice (Chinese)]

How many different values ​​are there in 1087 [PAT (Basic Level) Practice (Chinese)]

Original question link : How many different values ​​does 1087 have (pintia.cn)

1 Introduction

  • PAT (Level B) 2018 Autumn Examination Question 2

  • Score: 20

  • Difficulty: ⭐️⭐️⚝⚝⚝

  • Knowledge points:

    • C programming/loop control/for
    • C Programming/Array/One-Dimensional Array
  • operating restrictions

    Code length limit 16 KB
    time limit 150 ms
    memory limit 64 MB

2.Title description

When the natural number nn

Guess you like

Origin blog.csdn.net/weixin_40171190/article/details/131960075