about summary refs log tree commit diff
path: root/others/other/README.md
diff options
context:
space:
mode:
authorRaphael McSinyx <vn.mcsinyx@gmail.com>2017-08-08 21:01:05 +0700
committerRaphael McSinyx <vn.mcsinyx@gmail.com>2017-08-08 21:01:05 +0700
commitc63bd23b97a4bbb0c7bd30c871ad7feaad344e0d (patch)
treea34d973e318ce5279d746b46ce5b8f90696ded92 /others/other/README.md
parent5cfeec0f11dbcff922fe5b1a1a17bccf4812852e (diff)
downloadcp-c63bd23b97a4bbb0c7bd30c871ad7feaad344e0d.tar.gz
Add others/other/maxnum.py
Diffstat (limited to 'others/other/README.md')
-rw-r--r--others/other/README.md23
1 files changed, 23 insertions, 0 deletions
diff --git a/others/other/README.md b/others/other/README.md
index eb632cd..a61f45a 100644
--- a/others/other/README.md
+++ b/others/other/README.md
@@ -693,3 +693,26 @@ của một đoạn mã nguồn. Mỗi dòng chứa một câu lệnh có một
 |                                LANG.INP                                 |  LANG.OUT   |
 | ----------------------------------------------------------------------- | :---------: |
 | NEXT<br>JUMP 4 or 6<br>NEXT<br>JUMP 3<br>NEXT<br>JUMP 8<br>NEXT<br>NEXT | 2<br>5<br>7 |
+
+## Tìm số
+
+Cho hai số tự nhiên *n* và *p*. Tìm số *m* lớn nhất để *p<sup>m</sup>* là ước
+số của *n*!.
+
+### Dữ liệu
+
+Gồm hai số *n* và *p*.
+
+### Kết quả
+
+Số *m* tìm được.
+
+### Giới hạn
+
+*n*, *p* ≤ 30000, đảm bảo *m* > 0.
+
+### Ví dụ
+
+| MAXNUM.INP | MAXNUM.OUT |
+| :--------: | :--------: |
+|    7 3     |     2      |