Created
June 15, 2015 06:33
-
-
Save hnq90/83d266fb79f63fbe280d to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # http://vietnamnet.vn/vn/giao-duc/238840/bao-anh-cong-bo-dap-an-bai-toan-lop-3-cua-viet-nam.html | |
| Array(1..9).permutation {|n| p n if n[0]+13*n[1]/n[2]+n[3]+12*n[4]-n[5]-11+n[6]*n[7]/n[8]-10 == 66} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Cái bài này sử dụng tính chẵn lẻ, dấu hiệu chia hết, lớn hơn, nhỏ hơn để suy luận cũng ra. Nhưng mà tóm lại là ko phù hợp với học sinh lớp 3 bình thường 😄