about summary refs log tree commit diff
path: root/THT/B/QG-2016/remainder.py
diff options
context:
space:
mode:
authorRaphael McSinyx <vn.mcsinyx@gmail.com>2016-10-31 22:21:50 +0700
committerRaphael McSinyx <vn.mcsinyx@gmail.com>2016-10-31 22:21:50 +0700
commit71a6e456b59171a681bccff7eeba9db7367bca37 (patch)
treee6f517c4b4109e13c9bb31df6c4c40185ad7ddf7 /THT/B/QG-2016/remainder.py
parent250b7d75204bb18311f51d8b67164f9ad4cef9f2 (diff)
downloadcp-71a6e456b59171a681bccff7eeba9db7367bca37.tar.gz
Thêm đề Tin học trẻ Quốc gia 2016 Bảng B
Diffstat (limited to 'THT/B/QG-2016/remainder.py')
-rw-r--r--THT/B/QG-2016/remainder.py19
1 files changed, 19 insertions, 0 deletions
diff --git a/THT/B/QG-2016/remainder.py b/THT/B/QG-2016/remainder.py
new file mode 100644
index 0000000..45681ca
--- /dev/null
+++ b/THT/B/QG-2016/remainder.py
@@ -0,0 +1,19 @@
+#!/usr/bin/env python3
+
+l = [
+        (12, 3, 8),
+        (2, 15, 17),
+        (456, 6, 1296),
+        (1234, 100, 9),
+        (11223344, 1000000, 142857),
+        (55667788, 10000000, 1000000007),
+        (1357, 24682468, 999999999),
+        (24680, 1357913579, 777777777),
+        (998, 1000000000000, 999),
+        (1234, 11111111111111, 30),
+        (1, 222222222222222, 123456789),
+        (2016, 666666666666666, 8888888888),
+        (11223344, 555666777888999, 1357924680),
+        (999999999999999967, 999999999999999877, 999999999999999989),
+        (123456789123456789, 123456789123456789, 987654321123456789)
+]