K\u00e9p b\u1eb1ng l\u00e0 nh\u1eefng s\u1ed1 n\u00e0o? T\u1ef7 l\u1ec7 \u0103n ti\u1ec1n khi tr\u00fang v\u00e0 c\u00e1ch suy lu\u1eadn c\u1ea7u k\u00e9p b\u1eb1ng n\u00e0y nh\u01b0 th\u1ebf n\u00e0o? H\u00e3y c\u00f9ng ch\u00fang t\u00f4i \u0111i t\u00ecm hi\u1ec3u th\u1eadt k\u1ef9 v\u1ec1 n\u00f3. Bi\u1ebft \u0111\u00e2u b\u1ea1n s\u1ebd l\u1ea1i l\u00e0 t\u00edn \u0111\u1ed3 c\u1ee7a c\u1ea7u n\u00e0y v\u00ec t\u1ef7 l\u1ec7 th\u1eafng c\u1ee7a n\u00f3 v\u1edbi b\u1ea1n cao h\u01a1n t\u1ea5t c\u1ea3 nh\u1eefng k\u1ebft qu\u1ea3 ph\u00e2n t\u00edch kh\u00e1c mang l\u1ea1i.<\/p>\n
\u0110\u1eebng b\u1ecf l\u1ee1 b\u1ea5t k\u1ef3 c\u01a1 h\u1ed9i hay b\u1ea5t k\u1ef3 k\u1ebft qu\u1ea3 n\u00e0o trong ch\u01a1i l\u00f4 \u0111\u1ec1. B\u1edfi m\u1ed7i ng\u00e0y c\u00f3 th\u1ec3 b\u1ea1n s\u1ebd nh\u1eadn th\u1ea5y \u0111\u01b0\u1ee3c c\u1ea7u t\u1ed1t theo t\u1eebng d\u1ea1ng \u0111\u00e1nh kh\u00e1c nhau.<\/p>\n
K\u00e9p b\u1eb1ng l\u00e0 g\u00ec?<\/strong><\/span><\/h2>\nK\u00e9p b\u1eb1ng l\u00e0 t\u1eeb ng\u1eef chuy\u00ean m\u00f4n trong l\u00f4 \u0111\u1ec1 t\u1ea1i Vi\u1ec7t Nam. N\u00f3 ch\u1ec9 c\u00e1c c\u1eb7p s\u1ed1 tr\u00f9ng nhau \u1edf h\u00e0ng ch\u1ee5c v\u00e0 h\u00e0ng \u0111\u01a1n v\u1ecb. \u0110\u01b0\u1ee3c k\u1ebft h\u1ee3p t\u1eeb d\u00e3y s\u1ed1 t\u1eeb 0 \u0111\u1ebfn 9. Kh\u00e1 d\u1ec5 hi\u1ec3u v\u00e0 d\u1ec5 n\u1eafm b\u1eaft \u0111\u01b0\u1ee3c d\u1ea1ng k\u00e9p n\u00e0y. Nh\u01b0ng gi\u1edd \u0111\u00e2y n\u00f3 c\u00f2n c\u00f3 th\u00eam m\u1ed9t v\u00e0i d\u1ea1ng m\u1edf r\u1ed9ng kh\u00e1c nh\u01b0 l\u00e0 k\u00e9p l\u1ec7ch, k\u00e9p l\u1ec7ch \u00e2m, k\u00e9p s\u00e1t b\u1eb1ng, k\u00e9p s\u00e1t l\u1ec7ch.<\/p>\n
Tham kh\u1ea3o: K\u00e9p l\u1ec7ch v\u00e0 c\u00e1c d\u1ea1ng k\u00e9p l\u1ec7ch<\/em><\/p>\nV\u1eady, k\u00e9p b\u1eb1ng l\u00e0 nh\u1eefng s\u1ed1 n\u00e0o?<\/strong><\/span><\/h3>\nK\u00e9p b\u1eb1ng bao g\u1ed3m: 00, 11, 22, 33, 44, 55, 66, 77, 88, 99<\/strong><\/span>. T\u1ed5ng c\u00f3 10 s\u1ed1 k\u00e9p b\u1eb1ng<\/p>\nK\u00e9p s\u00e1t b\u1eb1ng l\u00e0 c\u00e1ch ch\u1ec9 c\u00e1c con t\u0103ng gi\u1ea3m 1 \u0111\u01a1n v\u1ecb \u1edf h\u00e0ng ch\u1ee5c ho\u1eb7c h\u00e0ng \u0111\u01a1n v\u1ecb. Nh\u01b0 v\u1eady s\u1ebd bao g\u1ed3m c\u00e1c s\u1ed1 l\u00e0: 01, 10, 90, 09, 21, 12, 32, 23, 34, 43, 45, 54, 65, 56, 76, 67, 87, 78, 98, 89<\/strong><\/span>. T\u1ed5ng s\u1ebd l\u00e0 20 s\u1ed1.<\/p>\n\u0110\u00e1nh k\u00e9p b\u1eb1ng nh\u01b0 th\u1ebf n\u00e0o?<\/strong><\/span><\/h3>\nTh\u00f4ng th\u01b0\u1eddng, ng\u01b0\u1eddi ch\u01a1i hi\u1ec7n nay ch\u1ee7 y\u1ebfu \u0111\u00e1nh k\u00e9p b\u1eb1ng ho\u1eb7c s\u00e1t b\u1eb1ng ho\u1eb7c c\u00e1c c\u1ea7u m\u1edf r\u1ed9ng kh\u00e1c \u1edf b\u1ea3ng \u0111\u1ec1. \u00cdt \u0111\u00e1nh b\u1ea3ng l\u00f4 b\u1edfi s\u1ed1 l\u01b0\u1ee3ng con kh\u00e1 nhi\u1ec1u.<\/p>\n
<\/p>\n
Nh\u00ecn v\u00e0o th\u00f4ng tin k\u00e9p b\u1eb1ng l\u00e0 nh\u1eefng s\u1ed1 n\u00e0o \u1edf tr\u00ean. Ch\u00fang ta c\u00f3 th\u1ec3 d\u1ec5 nh\u1eadn th\u1ea5y \u0111\u00e2y l\u00e0 m\u1ed9t d\u1ea1ng \u0111\u00e1nh \u0111\u1ec1 d\u00e0n. Ho\u1eb7c \u0111\u00e1nh d\u00e0n nu\u00f4i theo 3 ng\u00e0y, 5 ng\u00e0y. K\u1ebft h\u1ee3p v\u1edbi c\u00e1ch v\u00e0o ti\u1ec1n g\u1ea5p th\u1ebfp. Ch\u1eafc ch\u1eafn b\u1ea1n s\u1ebd lu\u00f4n c\u00f3 t\u1ef7 l\u1ec7 th\u1eafng cao nh\u1ea5t. Ch\u00fang ta s\u1ebd b\u00e0n lu\u1eadn vi\u1ec7c n\u00e0y b\u00ean d\u01b0\u1edbi.<\/p>\n
\u0110\u01a1n gi\u1ea3n, \u0111\u00e1nh \u0111\u1ec1 k\u00e9p b\u1eb1ng ch\u00ednh l\u00e0 vi\u1ec7c b\u1ea1n \u0111\u00e1nh cho c\u1ea3 1 d\u00e0n \u0111\u1ec1 k\u1ec3 tr\u00ean. V\u1edbi k\u00e9p b\u1eb1ng s\u1ebd l\u00e0 10 con, k\u00e9p s\u00e1t b\u1eb1ng l\u00e0 20 con. B\u1ea1n ghi \u0111i\u1ec3m bao nhi\u00eau s\u1ebd chia cho 10 ho\u1eb7c 20 \u0111\u1ec3 nh\u1eadn v\u1ec1 ti\u1ec1n th\u1eafng n\u1ebfu tr\u00fang. Theo t\u1ef7 l\u1ec7 ti\u1ec1n nh\u00e0 c\u00e1i \u0111\u01b0a ra.<\/p>\n
Soi c\u1ea7u \u0111\u1ec1 k\u00e9p b\u1eb1ng chu\u1ea9n nh\u1ea5t<\/strong><\/span><\/h2>\n1\/ Ph\u01b0\u01a1ng ph\u00e1p soi \u0111\u1ec1 k\u00e9p b\u1eb1ng t\u1eeb 2 s\u1ed1 \u0111\u1ea7u gi\u1ea3i \u0111\u1eb7c bi\u1ec7t<\/strong><\/span><\/h3>\nTheo th\u1ed1ng k\u00ea t\u1eeb nhi\u1ec1u nh\u00e0 c\u00e1i uy t\u00edn v\u1ec1 l\u00f4 \u0111\u1ec1 online. N\u1ebfu b\u1ea1n nh\u1eadn th\u1ea5y d\u1ea5u hi\u1ec7u sau \u0111\u00e2y, h\u00e3y chu\u1ea9n b\u1ecb ti\u1ec1n \u0111\u1ec3 v\u00e0o c\u1ea7u \u0111\u1ec1 k\u00e9p b\u1eb1ng cho nh\u1eefng ng\u00e0y s\u1eafp t\u1edbi. C\u1ee5 th\u1ec3:<\/p>\n
N\u1ebfu gi\u1ea3i \u0111\u1eb7c bi\u1ec7t c\u1ee7a ng\u00e0y h\u00f4m nay v\u1ec1 c\u00f3 k\u00e9p \u1edf \u0111\u1ea7u. Th\u00ec trong v\u00f2ng l\u00e2u nh\u1ea5t l\u00e0 1 tu\u1ea7n, s\u1ebd v\u1ec1 \u0111\u1ec1 k\u00e9p b\u1eb1ng.<\/p>\n
V\u00ed d\u1ee5: N\u1ebfu h\u00f4m nay \u0111\u1ec1 v\u1ec1 22abc (a, b, c l\u00e0 nh\u1eefng con s\u1ed1 b\u1ea5t k\u1ef3) th\u00ec trong v\u00f2ng 1 tu\u1ea7n ti\u1ebfp theo k\u1ec3 t\u1eeb h\u00f4m nay. B\u1ea1n s\u1ebd nu\u00f4i b\u1ea3ng \u0111\u1ec1 k\u00e9p b\u1eb1ng. V\u00e0 nh\u01b0 v\u1eady ch\u1eafc ch\u1eafn l\u00e0 c\u00f3 l\u00e3i. \u0110\u1ec3 ch\u00fang t\u00f4i ph\u00e2n t\u00edch d\u1ea1ng \u0111\u00e1nh b\u00ecnh qu\u00e2n cho b\u1ea1n s\u1ebd th\u1ea5y.<\/p>\n
B\u1ea1n \u0111\u00e1nh 7 ng\u00e0y li\u00ean ti\u1ebfp. m\u1ed7i ng\u00e0y 10 con, m\u1ed7i con 1\u0111. V\u1eady s\u1ebd l\u00e0 7*10*1 = 70\u0111<\/p>\n
Tr\u1eeb \u0111i s\u1ed1 ti\u1ec1n \u0111\u00e1nh th\u00ec v\u1edbi l\u00f4 \u0111\u1ec1 truy\u1ec1n th\u1ed1ng b\u1ea1n l\u00e3i 10\u0111, l\u00f4 \u0111\u1ec1 tr\u1ef1c tuy\u1ebfn l\u00e3i 29k.<\/p>\n
2\/ \u0110\u00e1nh \u0111\u1ec1 k\u00e9p theo \u0111\u1ea7u c\u00e2m \u2013 \u0111u\u00f4i c\u00e2m<\/strong><\/span><\/h3>\nN\u1ebfu \u0111\u1ea7u ho\u1eb7c \u0111u\u00f4i c\u1ee7a k\u1ebft qu\u1ea3 x\u1ed5 s\u1ed1 h\u00f4m nay b\u1ecb c\u00e2m. B\u1ea1n s\u1ebd ki\u1ec3m tra xem 2 ng\u00e0y ti\u1ebfp theo n\u00f3 c\u00f3 v\u1ec1 \u0111\u1ec1 k\u00e9p theo \u0111\u1ea7u ho\u1eb7c \u0111u\u00f4i b\u1ecb c\u00e2m \u0111\u00f3 kh\u00f4ng? N\u1ebfu kh\u00f4ng v\u1ec1 b\u1ea1n s\u1ebd \u0111\u1ea7u t\u01b0 ti\u1ec1n nu\u00f4i khung 7 ng\u00e0y.<\/p>\n
<\/p>\n
V\u00ed d\u1ee5: \u0110\u1ea7u 8 b\u1ecb c\u00e2m. B\u1ea1n s\u1ebd b\u1ecf 2 ng\u00e0y ti\u1ebfp theo kh\u00f4ng \u0111\u00e1nh m\u00e0 ch\u1ec9 theo d\u00f5i xem 88 c\u00f3 v\u1ec1 kh\u00f4ng? N\u1ebfu kh\u00f4ng v\u1ec1 th\u00ec t\u1eeb ng\u00e0y th\u1ee9 3 b\u1ea1n s\u1ebd nu\u00f4i 88 trong su\u1ed1t 7 ng\u00e0y sau \u0111\u00f3. C\u00f3 th\u1ec3 l\u1ef1a ch\u1ecdn c\u00e1ch v\u00e0o ti\u1ec1n b\u1eb1ng nhau ho\u1eb7c v\u00e0o ti\u1ec1n g\u1ea5p th\u1ebfp \u0111\u1ec3 c\u00f3 l\u00e3i nhi\u1ec1u h\u01a1n.<\/p>\n
\u0110\u1ec1 v\u1ec1 k\u00e9p b\u1eb1ng th\u00ec h\u00f4m sau \u0111\u00e1nh con g\u00ec?<\/strong><\/span><\/h2>\nTheo th\u1ed1ng k\u00ea, \u0111\u1ec1 k\u00e9p b\u1eb1ng v\u1ec1 trong n\u0103m ch\u1ec9 \u0111\u1ea1t kho\u1ea3ng 7%. Nh\u01b0 v\u1eady, n\u00f3 l\u00e0 m\u1ed9t c\u1ea7u c\u0169ng hi\u1ebfm. Do v\u1eady b\u1ea1n c\u1ea7n l\u01b0u \u00fd \u0111\u1ec3 c\u00f3 nh\u1eefng c\u1ea7u \u0103n theo d\u1ea1ng c\u1edd b\u1ea1c nh\u1edb. C\u1ee5 th\u1ec3<\/p>\n
\u2013 \u0110\u1ec1 k\u00e9p 00 v\u1ec1 h\u00f4m sau \u0111\u00e1nh: 03, 60, 52, 87<\/em><\/span><\/p>\n\u2013 \u0110\u1ec1 k\u00e9p 11 v\u1ec1 h\u00f4m sau \u0111\u00e1nh: 86, 29, 01, 18<\/em><\/span><\/p>\n\u2013 \u0110\u1ec1 k\u00e9p 22 v\u1ec1 h\u00f4m sau \u0111\u00e1nh: 45, 54, 48, 84.<\/em><\/span><\/p>\n\u2013 \u0110\u1ec1 k\u00e9p 33 v\u1ec1 h\u00f4m sau \u0111\u00e1nh: 07, 70, 23, 32<\/em><\/span><\/p>\n\u2013 \u0110\u1ec1 k\u00e9p 44 v\u1ec1 h\u00f4m sau \u0111\u00e1nh: 37, 73, 89, 98<\/em><\/span><\/p>\n\u2013 \u0110\u1ec1 k\u00e9p 55 v\u1ec1 h\u00f4m sau \u0111\u00e1nh: 48, 84, 02, 20<\/em><\/span><\/p>\n\u2013 \u0110\u1ec1 k\u00e9p 66 v\u1ec1 h\u00f4m sau \u0111\u00e1nh: 19, 91, 34, 43<\/em><\/span><\/p>\n\u2013 \u0110\u1ec1 k\u00e9p 77 v\u1ec1 h\u00f4m sau \u0111\u00e1nh: 57, 75, 37, 73<\/em><\/span><\/p>\n\u2013 \u0110\u1ec1 k\u00e9p 88 v\u1ec1 h\u00f4m sau \u0111\u00e1nh: 57, 75, 04, 40<\/em><\/span><\/p>\n\u2013 \u0110\u1ec1 k\u00e9p 00 v\u1ec1 h\u00f4m sau \u0111\u00e1nh: 02, 20, 05, 50<\/em><\/span><\/p>\nMong r\u1eb1ng, v\u1edbi nh\u1eefng th\u00f4ng tin n\u00e0y. B\u1ea1n s\u1ebd lu\u00f4n c\u00f3 c\u1ea7u \u0111\u1ec1 \u2013 c\u1ea7u l\u00f4 h\u1ee3p l\u00fd m\u1ed7i khi c\u00f3 \u0111\u1ec1 k\u00e9p b\u1eb1ng v\u1ec1. Ho\u1eb7c nh\u00ecn th\u1ea5y \u0111\u01b0\u1ee3c nh\u1eefng d\u1ea5u hi\u1ec7u \u0111\u1ec3 \u0103n \u0111\u1ec1 k\u00e9p th\u1eadt nhanh. Ch\u1edbp \u0111\u01b0\u1ee3c c\u01a1 h\u1ed9i l\u00e0m gi\u00e0u.<\/p>\n<\/div>\n
\n
V\u1eady, k\u00e9p b\u1eb1ng l\u00e0 nh\u1eefng s\u1ed1 n\u00e0o?<\/strong><\/span><\/h3>\nK\u00e9p b\u1eb1ng bao g\u1ed3m: 00, 11, 22, 33, 44, 55, 66, 77, 88, 99<\/strong><\/span>. T\u1ed5ng c\u00f3 10 s\u1ed1 k\u00e9p b\u1eb1ng<\/p>\nK\u00e9p s\u00e1t b\u1eb1ng l\u00e0 c\u00e1ch ch\u1ec9 c\u00e1c con t\u0103ng gi\u1ea3m 1 \u0111\u01a1n v\u1ecb \u1edf h\u00e0ng ch\u1ee5c ho\u1eb7c h\u00e0ng \u0111\u01a1n v\u1ecb. Nh\u01b0 v\u1eady s\u1ebd bao g\u1ed3m c\u00e1c s\u1ed1 l\u00e0: 01, 10, 90, 09, 21, 12, 32, 23, 34, 43, 45, 54, 65, 56, 76, 67, 87, 78, 98, 89<\/strong><\/span>. T\u1ed5ng s\u1ebd l\u00e0 20 s\u1ed1.<\/p>\n\u0110\u00e1nh k\u00e9p b\u1eb1ng nh\u01b0 th\u1ebf n\u00e0o?<\/strong><\/span><\/h3>\nTh\u00f4ng th\u01b0\u1eddng, ng\u01b0\u1eddi ch\u01a1i hi\u1ec7n nay ch\u1ee7 y\u1ebfu \u0111\u00e1nh k\u00e9p b\u1eb1ng ho\u1eb7c s\u00e1t b\u1eb1ng ho\u1eb7c c\u00e1c c\u1ea7u m\u1edf r\u1ed9ng kh\u00e1c \u1edf b\u1ea3ng \u0111\u1ec1. \u00cdt \u0111\u00e1nh b\u1ea3ng l\u00f4 b\u1edfi s\u1ed1 l\u01b0\u1ee3ng con kh\u00e1 nhi\u1ec1u.<\/p>\n
<\/p>\n
Nh\u00ecn v\u00e0o th\u00f4ng tin k\u00e9p b\u1eb1ng l\u00e0 nh\u1eefng s\u1ed1 n\u00e0o \u1edf tr\u00ean. Ch\u00fang ta c\u00f3 th\u1ec3 d\u1ec5 nh\u1eadn th\u1ea5y \u0111\u00e2y l\u00e0 m\u1ed9t d\u1ea1ng \u0111\u00e1nh \u0111\u1ec1 d\u00e0n. Ho\u1eb7c \u0111\u00e1nh d\u00e0n nu\u00f4i theo 3 ng\u00e0y, 5 ng\u00e0y. K\u1ebft h\u1ee3p v\u1edbi c\u00e1ch v\u00e0o ti\u1ec1n g\u1ea5p th\u1ebfp. Ch\u1eafc ch\u1eafn b\u1ea1n s\u1ebd lu\u00f4n c\u00f3 t\u1ef7 l\u1ec7 th\u1eafng cao nh\u1ea5t. Ch\u00fang ta s\u1ebd b\u00e0n lu\u1eadn vi\u1ec7c n\u00e0y b\u00ean d\u01b0\u1edbi.<\/p>\n
\u0110\u01a1n gi\u1ea3n, \u0111\u00e1nh \u0111\u1ec1 k\u00e9p b\u1eb1ng ch\u00ednh l\u00e0 vi\u1ec7c b\u1ea1n \u0111\u00e1nh cho c\u1ea3 1 d\u00e0n \u0111\u1ec1 k\u1ec3 tr\u00ean. V\u1edbi k\u00e9p b\u1eb1ng s\u1ebd l\u00e0 10 con, k\u00e9p s\u00e1t b\u1eb1ng l\u00e0 20 con. B\u1ea1n ghi \u0111i\u1ec3m bao nhi\u00eau s\u1ebd chia cho 10 ho\u1eb7c 20 \u0111\u1ec3 nh\u1eadn v\u1ec1 ti\u1ec1n th\u1eafng n\u1ebfu tr\u00fang. Theo t\u1ef7 l\u1ec7 ti\u1ec1n nh\u00e0 c\u00e1i \u0111\u01b0a ra.<\/p>\n
Soi c\u1ea7u \u0111\u1ec1 k\u00e9p b\u1eb1ng chu\u1ea9n nh\u1ea5t<\/strong><\/span><\/h2>\n1\/ Ph\u01b0\u01a1ng ph\u00e1p soi \u0111\u1ec1 k\u00e9p b\u1eb1ng t\u1eeb 2 s\u1ed1 \u0111\u1ea7u gi\u1ea3i \u0111\u1eb7c bi\u1ec7t<\/strong><\/span><\/h3>\nTheo th\u1ed1ng k\u00ea t\u1eeb nhi\u1ec1u nh\u00e0 c\u00e1i uy t\u00edn v\u1ec1 l\u00f4 \u0111\u1ec1 online. N\u1ebfu b\u1ea1n nh\u1eadn th\u1ea5y d\u1ea5u hi\u1ec7u sau \u0111\u00e2y, h\u00e3y chu\u1ea9n b\u1ecb ti\u1ec1n \u0111\u1ec3 v\u00e0o c\u1ea7u \u0111\u1ec1 k\u00e9p b\u1eb1ng cho nh\u1eefng ng\u00e0y s\u1eafp t\u1edbi. C\u1ee5 th\u1ec3:<\/p>\n
N\u1ebfu gi\u1ea3i \u0111\u1eb7c bi\u1ec7t c\u1ee7a ng\u00e0y h\u00f4m nay v\u1ec1 c\u00f3 k\u00e9p \u1edf \u0111\u1ea7u. Th\u00ec trong v\u00f2ng l\u00e2u nh\u1ea5t l\u00e0 1 tu\u1ea7n, s\u1ebd v\u1ec1 \u0111\u1ec1 k\u00e9p b\u1eb1ng.<\/p>\n
V\u00ed d\u1ee5: N\u1ebfu h\u00f4m nay \u0111\u1ec1 v\u1ec1 22abc (a, b, c l\u00e0 nh\u1eefng con s\u1ed1 b\u1ea5t k\u1ef3) th\u00ec trong v\u00f2ng 1 tu\u1ea7n ti\u1ebfp theo k\u1ec3 t\u1eeb h\u00f4m nay. B\u1ea1n s\u1ebd nu\u00f4i b\u1ea3ng \u0111\u1ec1 k\u00e9p b\u1eb1ng. V\u00e0 nh\u01b0 v\u1eady ch\u1eafc ch\u1eafn l\u00e0 c\u00f3 l\u00e3i. \u0110\u1ec3 ch\u00fang t\u00f4i ph\u00e2n t\u00edch d\u1ea1ng \u0111\u00e1nh b\u00ecnh qu\u00e2n cho b\u1ea1n s\u1ebd th\u1ea5y.<\/p>\n
B\u1ea1n \u0111\u00e1nh 7 ng\u00e0y li\u00ean ti\u1ebfp. m\u1ed7i ng\u00e0y 10 con, m\u1ed7i con 1\u0111. V\u1eady s\u1ebd l\u00e0 7*10*1 = 70\u0111<\/p>\n
Tr\u1eeb \u0111i s\u1ed1 ti\u1ec1n \u0111\u00e1nh th\u00ec v\u1edbi l\u00f4 \u0111\u1ec1 truy\u1ec1n th\u1ed1ng b\u1ea1n l\u00e3i 10\u0111, l\u00f4 \u0111\u1ec1 tr\u1ef1c tuy\u1ebfn l\u00e3i 29k.<\/p>\n
2\/ \u0110\u00e1nh \u0111\u1ec1 k\u00e9p theo \u0111\u1ea7u c\u00e2m \u2013 \u0111u\u00f4i c\u00e2m<\/strong><\/span><\/h3>\nN\u1ebfu \u0111\u1ea7u ho\u1eb7c \u0111u\u00f4i c\u1ee7a k\u1ebft qu\u1ea3 x\u1ed5 s\u1ed1 h\u00f4m nay b\u1ecb c\u00e2m. B\u1ea1n s\u1ebd ki\u1ec3m tra xem 2 ng\u00e0y ti\u1ebfp theo n\u00f3 c\u00f3 v\u1ec1 \u0111\u1ec1 k\u00e9p theo \u0111\u1ea7u ho\u1eb7c \u0111u\u00f4i b\u1ecb c\u00e2m \u0111\u00f3 kh\u00f4ng? N\u1ebfu kh\u00f4ng v\u1ec1 b\u1ea1n s\u1ebd \u0111\u1ea7u t\u01b0 ti\u1ec1n nu\u00f4i khung 7 ng\u00e0y.<\/p>\n
<\/p>\n
V\u00ed d\u1ee5: \u0110\u1ea7u 8 b\u1ecb c\u00e2m. B\u1ea1n s\u1ebd b\u1ecf 2 ng\u00e0y ti\u1ebfp theo kh\u00f4ng \u0111\u00e1nh m\u00e0 ch\u1ec9 theo d\u00f5i xem 88 c\u00f3 v\u1ec1 kh\u00f4ng? N\u1ebfu kh\u00f4ng v\u1ec1 th\u00ec t\u1eeb ng\u00e0y th\u1ee9 3 b\u1ea1n s\u1ebd nu\u00f4i 88 trong su\u1ed1t 7 ng\u00e0y sau \u0111\u00f3. C\u00f3 th\u1ec3 l\u1ef1a ch\u1ecdn c\u00e1ch v\u00e0o ti\u1ec1n b\u1eb1ng nhau ho\u1eb7c v\u00e0o ti\u1ec1n g\u1ea5p th\u1ebfp \u0111\u1ec3 c\u00f3 l\u00e3i nhi\u1ec1u h\u01a1n.<\/p>\n
\u0110\u1ec1 v\u1ec1 k\u00e9p b\u1eb1ng th\u00ec h\u00f4m sau \u0111\u00e1nh con g\u00ec?<\/strong><\/span><\/h2>\nTheo th\u1ed1ng k\u00ea, \u0111\u1ec1 k\u00e9p b\u1eb1ng v\u1ec1 trong n\u0103m ch\u1ec9 \u0111\u1ea1t kho\u1ea3ng 7%. Nh\u01b0 v\u1eady, n\u00f3 l\u00e0 m\u1ed9t c\u1ea7u c\u0169ng hi\u1ebfm. Do v\u1eady b\u1ea1n c\u1ea7n l\u01b0u \u00fd \u0111\u1ec3 c\u00f3 nh\u1eefng c\u1ea7u \u0103n theo d\u1ea1ng c\u1edd b\u1ea1c nh\u1edb. C\u1ee5 th\u1ec3<\/p>\n
\u2013 \u0110\u1ec1 k\u00e9p 00 v\u1ec1 h\u00f4m sau \u0111\u00e1nh: 03, 60, 52, 87<\/em><\/span><\/p>\n\u2013 \u0110\u1ec1 k\u00e9p 11 v\u1ec1 h\u00f4m sau \u0111\u00e1nh: 86, 29, 01, 18<\/em><\/span><\/p>\n\u2013 \u0110\u1ec1 k\u00e9p 22 v\u1ec1 h\u00f4m sau \u0111\u00e1nh: 45, 54, 48, 84.<\/em><\/span><\/p>\n\u2013 \u0110\u1ec1 k\u00e9p 33 v\u1ec1 h\u00f4m sau \u0111\u00e1nh: 07, 70, 23, 32<\/em><\/span><\/p>\n\u2013 \u0110\u1ec1 k\u00e9p 44 v\u1ec1 h\u00f4m sau \u0111\u00e1nh: 37, 73, 89, 98<\/em><\/span><\/p>\n\u2013 \u0110\u1ec1 k\u00e9p 55 v\u1ec1 h\u00f4m sau \u0111\u00e1nh: 48, 84, 02, 20<\/em><\/span><\/p>\n\u2013 \u0110\u1ec1 k\u00e9p 66 v\u1ec1 h\u00f4m sau \u0111\u00e1nh: 19, 91, 34, 43<\/em><\/span><\/p>\n\u2013 \u0110\u1ec1 k\u00e9p 77 v\u1ec1 h\u00f4m sau \u0111\u00e1nh: 57, 75, 37, 73<\/em><\/span><\/p>\n\u2013 \u0110\u1ec1 k\u00e9p 88 v\u1ec1 h\u00f4m sau \u0111\u00e1nh: 57, 75, 04, 40<\/em><\/span><\/p>\n\u2013 \u0110\u1ec1 k\u00e9p 00 v\u1ec1 h\u00f4m sau \u0111\u00e1nh: 02, 20, 05, 50<\/em><\/span><\/p>\nMong r\u1eb1ng, v\u1edbi nh\u1eefng th\u00f4ng tin n\u00e0y. B\u1ea1n s\u1ebd lu\u00f4n c\u00f3 c\u1ea7u \u0111\u1ec1 \u2013 c\u1ea7u l\u00f4 h\u1ee3p l\u00fd m\u1ed7i khi c\u00f3 \u0111\u1ec1 k\u00e9p b\u1eb1ng v\u1ec1. Ho\u1eb7c nh\u00ecn th\u1ea5y \u0111\u01b0\u1ee3c nh\u1eefng d\u1ea5u hi\u1ec7u \u0111\u1ec3 \u0103n \u0111\u1ec1 k\u00e9p th\u1eadt nhanh. Ch\u1edbp \u0111\u01b0\u1ee3c c\u01a1 h\u1ed9i l\u00e0m gi\u00e0u.<\/p>\n<\/div>\n
\n
K\u00e9p s\u00e1t b\u1eb1ng l\u00e0 c\u00e1ch ch\u1ec9 c\u00e1c con t\u0103ng gi\u1ea3m 1 \u0111\u01a1n v\u1ecb \u1edf h\u00e0ng ch\u1ee5c ho\u1eb7c h\u00e0ng \u0111\u01a1n v\u1ecb. Nh\u01b0 v\u1eady s\u1ebd bao g\u1ed3m c\u00e1c s\u1ed1 l\u00e0: 01, 10, 90, 09, 21, 12, 32, 23, 34, 43, 45, 54, 65, 56, 76, 67, 87, 78, 98, 89<\/strong><\/span>. T\u1ed5ng s\u1ebd l\u00e0 20 s\u1ed1.<\/p>\n Th\u00f4ng th\u01b0\u1eddng, ng\u01b0\u1eddi ch\u01a1i hi\u1ec7n nay ch\u1ee7 y\u1ebfu \u0111\u00e1nh k\u00e9p b\u1eb1ng ho\u1eb7c s\u00e1t b\u1eb1ng ho\u1eb7c c\u00e1c c\u1ea7u m\u1edf r\u1ed9ng kh\u00e1c \u1edf b\u1ea3ng \u0111\u1ec1. \u00cdt \u0111\u00e1nh b\u1ea3ng l\u00f4 b\u1edfi s\u1ed1 l\u01b0\u1ee3ng con kh\u00e1 nhi\u1ec1u.<\/p>\n <\/p>\n Nh\u00ecn v\u00e0o th\u00f4ng tin k\u00e9p b\u1eb1ng l\u00e0 nh\u1eefng s\u1ed1 n\u00e0o \u1edf tr\u00ean. Ch\u00fang ta c\u00f3 th\u1ec3 d\u1ec5 nh\u1eadn th\u1ea5y \u0111\u00e2y l\u00e0 m\u1ed9t d\u1ea1ng \u0111\u00e1nh \u0111\u1ec1 d\u00e0n. Ho\u1eb7c \u0111\u00e1nh d\u00e0n nu\u00f4i theo 3 ng\u00e0y, 5 ng\u00e0y. K\u1ebft h\u1ee3p v\u1edbi c\u00e1ch v\u00e0o ti\u1ec1n g\u1ea5p th\u1ebfp. Ch\u1eafc ch\u1eafn b\u1ea1n s\u1ebd lu\u00f4n c\u00f3 t\u1ef7 l\u1ec7 th\u1eafng cao nh\u1ea5t. Ch\u00fang ta s\u1ebd b\u00e0n lu\u1eadn vi\u1ec7c n\u00e0y b\u00ean d\u01b0\u1edbi.<\/p>\n \u0110\u01a1n gi\u1ea3n, \u0111\u00e1nh \u0111\u1ec1 k\u00e9p b\u1eb1ng ch\u00ednh l\u00e0 vi\u1ec7c b\u1ea1n \u0111\u00e1nh cho c\u1ea3 1 d\u00e0n \u0111\u1ec1 k\u1ec3 tr\u00ean. V\u1edbi k\u00e9p b\u1eb1ng s\u1ebd l\u00e0 10 con, k\u00e9p s\u00e1t b\u1eb1ng l\u00e0 20 con. B\u1ea1n ghi \u0111i\u1ec3m bao nhi\u00eau s\u1ebd chia cho 10 ho\u1eb7c 20 \u0111\u1ec3 nh\u1eadn v\u1ec1 ti\u1ec1n th\u1eafng n\u1ebfu tr\u00fang. Theo t\u1ef7 l\u1ec7 ti\u1ec1n nh\u00e0 c\u00e1i \u0111\u01b0a ra.<\/p>\n Theo th\u1ed1ng k\u00ea t\u1eeb nhi\u1ec1u nh\u00e0 c\u00e1i uy t\u00edn v\u1ec1 l\u00f4 \u0111\u1ec1 online. N\u1ebfu b\u1ea1n nh\u1eadn th\u1ea5y d\u1ea5u hi\u1ec7u sau \u0111\u00e2y, h\u00e3y chu\u1ea9n b\u1ecb ti\u1ec1n \u0111\u1ec3 v\u00e0o c\u1ea7u \u0111\u1ec1 k\u00e9p b\u1eb1ng cho nh\u1eefng ng\u00e0y s\u1eafp t\u1edbi. C\u1ee5 th\u1ec3:<\/p>\n N\u1ebfu gi\u1ea3i \u0111\u1eb7c bi\u1ec7t c\u1ee7a ng\u00e0y h\u00f4m nay v\u1ec1 c\u00f3 k\u00e9p \u1edf \u0111\u1ea7u. Th\u00ec trong v\u00f2ng l\u00e2u nh\u1ea5t l\u00e0 1 tu\u1ea7n, s\u1ebd v\u1ec1 \u0111\u1ec1 k\u00e9p b\u1eb1ng.<\/p>\n V\u00ed d\u1ee5: N\u1ebfu h\u00f4m nay \u0111\u1ec1 v\u1ec1 22abc (a, b, c l\u00e0 nh\u1eefng con s\u1ed1 b\u1ea5t k\u1ef3) th\u00ec trong v\u00f2ng 1 tu\u1ea7n ti\u1ebfp theo k\u1ec3 t\u1eeb h\u00f4m nay. B\u1ea1n s\u1ebd nu\u00f4i b\u1ea3ng \u0111\u1ec1 k\u00e9p b\u1eb1ng. V\u00e0 nh\u01b0 v\u1eady ch\u1eafc ch\u1eafn l\u00e0 c\u00f3 l\u00e3i. \u0110\u1ec3 ch\u00fang t\u00f4i ph\u00e2n t\u00edch d\u1ea1ng \u0111\u00e1nh b\u00ecnh qu\u00e2n cho b\u1ea1n s\u1ebd th\u1ea5y.<\/p>\n B\u1ea1n \u0111\u00e1nh 7 ng\u00e0y li\u00ean ti\u1ebfp. m\u1ed7i ng\u00e0y 10 con, m\u1ed7i con 1\u0111. V\u1eady s\u1ebd l\u00e0 7*10*1 = 70\u0111<\/p>\n Tr\u1eeb \u0111i s\u1ed1 ti\u1ec1n \u0111\u00e1nh th\u00ec v\u1edbi l\u00f4 \u0111\u1ec1 truy\u1ec1n th\u1ed1ng b\u1ea1n l\u00e3i 10\u0111, l\u00f4 \u0111\u1ec1 tr\u1ef1c tuy\u1ebfn l\u00e3i 29k.<\/p>\n N\u1ebfu \u0111\u1ea7u ho\u1eb7c \u0111u\u00f4i c\u1ee7a k\u1ebft qu\u1ea3 x\u1ed5 s\u1ed1 h\u00f4m nay b\u1ecb c\u00e2m. B\u1ea1n s\u1ebd ki\u1ec3m tra xem 2 ng\u00e0y ti\u1ebfp theo n\u00f3 c\u00f3 v\u1ec1 \u0111\u1ec1 k\u00e9p theo \u0111\u1ea7u ho\u1eb7c \u0111u\u00f4i b\u1ecb c\u00e2m \u0111\u00f3 kh\u00f4ng? N\u1ebfu kh\u00f4ng v\u1ec1 b\u1ea1n s\u1ebd \u0111\u1ea7u t\u01b0 ti\u1ec1n nu\u00f4i khung 7 ng\u00e0y.<\/p>\n <\/p>\n V\u00ed d\u1ee5: \u0110\u1ea7u 8 b\u1ecb c\u00e2m. B\u1ea1n s\u1ebd b\u1ecf 2 ng\u00e0y ti\u1ebfp theo kh\u00f4ng \u0111\u00e1nh m\u00e0 ch\u1ec9 theo d\u00f5i xem 88 c\u00f3 v\u1ec1 kh\u00f4ng? N\u1ebfu kh\u00f4ng v\u1ec1 th\u00ec t\u1eeb ng\u00e0y th\u1ee9 3 b\u1ea1n s\u1ebd nu\u00f4i 88 trong su\u1ed1t 7 ng\u00e0y sau \u0111\u00f3. C\u00f3 th\u1ec3 l\u1ef1a ch\u1ecdn c\u00e1ch v\u00e0o ti\u1ec1n b\u1eb1ng nhau ho\u1eb7c v\u00e0o ti\u1ec1n g\u1ea5p th\u1ebfp \u0111\u1ec3 c\u00f3 l\u00e3i nhi\u1ec1u h\u01a1n.<\/p>\n Theo th\u1ed1ng k\u00ea, \u0111\u1ec1 k\u00e9p b\u1eb1ng v\u1ec1 trong n\u0103m ch\u1ec9 \u0111\u1ea1t kho\u1ea3ng 7%. Nh\u01b0 v\u1eady, n\u00f3 l\u00e0 m\u1ed9t c\u1ea7u c\u0169ng hi\u1ebfm. Do v\u1eady b\u1ea1n c\u1ea7n l\u01b0u \u00fd \u0111\u1ec3 c\u00f3 nh\u1eefng c\u1ea7u \u0103n theo d\u1ea1ng c\u1edd b\u1ea1c nh\u1edb. C\u1ee5 th\u1ec3<\/p>\n \u2013 \u0110\u1ec1 k\u00e9p 00 v\u1ec1 h\u00f4m sau \u0111\u00e1nh: 03, 60, 52, 87<\/em><\/span><\/p>\n \u2013 \u0110\u1ec1 k\u00e9p 11 v\u1ec1 h\u00f4m sau \u0111\u00e1nh: 86, 29, 01, 18<\/em><\/span><\/p>\n \u2013 \u0110\u1ec1 k\u00e9p 22 v\u1ec1 h\u00f4m sau \u0111\u00e1nh: 45, 54, 48, 84.<\/em><\/span><\/p>\n \u2013 \u0110\u1ec1 k\u00e9p 33 v\u1ec1 h\u00f4m sau \u0111\u00e1nh: 07, 70, 23, 32<\/em><\/span><\/p>\n \u2013 \u0110\u1ec1 k\u00e9p 44 v\u1ec1 h\u00f4m sau \u0111\u00e1nh: 37, 73, 89, 98<\/em><\/span><\/p>\n \u2013 \u0110\u1ec1 k\u00e9p 55 v\u1ec1 h\u00f4m sau \u0111\u00e1nh: 48, 84, 02, 20<\/em><\/span><\/p>\n \u2013 \u0110\u1ec1 k\u00e9p 66 v\u1ec1 h\u00f4m sau \u0111\u00e1nh: 19, 91, 34, 43<\/em><\/span><\/p>\n \u2013 \u0110\u1ec1 k\u00e9p 77 v\u1ec1 h\u00f4m sau \u0111\u00e1nh: 57, 75, 37, 73<\/em><\/span><\/p>\n \u2013 \u0110\u1ec1 k\u00e9p 88 v\u1ec1 h\u00f4m sau \u0111\u00e1nh: 57, 75, 04, 40<\/em><\/span><\/p>\n \u2013 \u0110\u1ec1 k\u00e9p 00 v\u1ec1 h\u00f4m sau \u0111\u00e1nh: 02, 20, 05, 50<\/em><\/span><\/p>\n Mong r\u1eb1ng, v\u1edbi nh\u1eefng th\u00f4ng tin n\u00e0y. B\u1ea1n s\u1ebd lu\u00f4n c\u00f3 c\u1ea7u \u0111\u1ec1 \u2013 c\u1ea7u l\u00f4 h\u1ee3p l\u00fd m\u1ed7i khi c\u00f3 \u0111\u1ec1 k\u00e9p b\u1eb1ng v\u1ec1. Ho\u1eb7c nh\u00ecn th\u1ea5y \u0111\u01b0\u1ee3c nh\u1eefng d\u1ea5u hi\u1ec7u \u0111\u1ec3 \u0103n \u0111\u1ec1 k\u00e9p th\u1eadt nhanh. Ch\u1edbp \u0111\u01b0\u1ee3c c\u01a1 h\u1ed9i l\u00e0m gi\u00e0u.<\/p>\n<\/div>\n\u0110\u00e1nh k\u00e9p b\u1eb1ng nh\u01b0 th\u1ebf n\u00e0o?<\/strong><\/span><\/h3>\n
Soi c\u1ea7u \u0111\u1ec1 k\u00e9p b\u1eb1ng chu\u1ea9n nh\u1ea5t<\/strong><\/span><\/h2>\n
1\/ Ph\u01b0\u01a1ng ph\u00e1p soi \u0111\u1ec1 k\u00e9p b\u1eb1ng t\u1eeb 2 s\u1ed1 \u0111\u1ea7u gi\u1ea3i \u0111\u1eb7c bi\u1ec7t<\/strong><\/span><\/h3>\n
2\/ \u0110\u00e1nh \u0111\u1ec1 k\u00e9p theo \u0111\u1ea7u c\u00e2m \u2013 \u0111u\u00f4i c\u00e2m<\/strong><\/span><\/h3>\n
\u0110\u1ec1 v\u1ec1 k\u00e9p b\u1eb1ng th\u00ec h\u00f4m sau \u0111\u00e1nh con g\u00ec?<\/strong><\/span><\/h2>\n