8+1-2+8-14 = ?
Hãy nhập câu hỏi của bạn vào đây, nếu là tài khoản VIP, bạn sẽ được ưu tiên trả lời.
#include <bits/stdc++.h>
using namespace std;
long long n,a[1000001];
int main()
{
cin>>n;
for(int i=1;i<=n*2;i++)
{
cin>>a[i];
}
sort(a+1,a+n+1);
sort(a+n+1,a+2*n+1,greater<long long>());
for(int i=1;i<=n*2;i++)
{
cout<<a[i]<<" ";
}
return 0;
}
a: \(=\dfrac{5}{14}\left(\dfrac{2}{9}+\dfrac{7}{9}+1\right)=\dfrac{5}{14}\cdot2=\dfrac{5}{7}\)
b: \(=\dfrac{6}{8}\left(\dfrac{6}{7}-6\right)=\dfrac{6}{8}\cdot\dfrac{-36}{7}=\dfrac{-216}{56}=\dfrac{-27}{7}\)
`@` `\text {Ans}`
`\downarrow`
`1,`
`a)`
`-7/25 + (-8)/25`
`= (-7 - 8)/25`
`= -15/25`
`= -3/5`
`b)`
`6/13 + (-15)/39`
`= 18/39 + (-15)/39`
`= (18 - 15)/39`
`= 3/39`
`= 1/13`
`c)`
`5/7 + 4/(-14)`
`= 10/14 + (-4)/14`
`= (10 - 4)/14`
`= 6/14`
`= 3/7`
`d)`
`-8/18 + (-15)/27`
`= -4/9 + (-5)/9`
`= (-4-5)/9`
`= -9/9 = -1`
`2,`
`a)`
`3/5 + (-7)/4`
`= 12/20 + (-35)/20`
`= (12 - 35)/20`
`=-23/20`
`b)`
`(-2) + (-5)/8`
`= (-16)/8 + (-5)/8`
`= (-16 - 5)/8`
`= -21/8`
`c)`
`1/8 + (-5)/9`
`= 9/72 + (-40)/72`
`= (9-40)/72`
`= -31/72`
`d)`
`6/13 + (-14)/39`
`= 18/39 + (-14)/39`
`= (18 - 14)/39`
`= 4/39`
`e)`
`(-18)/24 + 15/21`
`= (-3)/4 + 5/7`
`= (-21)/28 + 20/28`
`= (-21 + 20)/28`
`= -1/28`
a) 2/9 - (1/20 + 2/9)
= 2/9 - 1/20 - 2/9
= (2/9 - 2/9) - 1/20
= 0 - 1/20
= -1/20
b) -3/14 + 2/13 + (-25/14) + (-15/13)
= (-3/14 - 25/14) + (2/13 - 15/13)
= -2 - 1
= -3
c) -3/11 + 11/8 - 3/8 + (-8/11)
= (-3/11 - 8/11) + (11/8 - 3/8)
= -1 + 1
= 0
d) 3/8 + (-1/4) - (7/12 - 1/6)
= 1/8 - 5/12
= -7/24
e) (1/3 + 12/67 + 13/41) - (79/67 - 28/41)
= 1/3 + 12/67 + 13/41 - 79/67 + 28/41
= 1/3 + (12/67 - 79/67) + (13/41 + 28/41)
= 1/3 - 1 + 1
= 1/3
a, \(\frac{-3}{7}+\frac{5}{13}-\frac{4}{7}+\frac{8}{13}\)
\(=\frac{-3}{7}-\frac{4}{7}+\frac{5}{13}+\frac{8}{13}\)
\(=-\frac{7}{7}+\frac{13}{13}=-1+1=0\)
b, \(\frac{-5}{14}-\frac{2}{-14}+\frac{1}{8}+\frac{1}{8}\)
\(=\frac{-5}{14}+\frac{2}{14}+\frac{1}{8}+\frac{1}{8}\)
\(=-\frac{3}{14}+\frac{1}{4}=\frac{1}{28}\)
c,\(-\frac{5}{13}-\left(\frac{3}{5}+\frac{3}{13}-\frac{4}{10}\right)\)
\(=-\frac{5}{13}-\frac{3}{13}-\frac{3}{5}+\frac{4}{10}\)
\(=-\frac{8}{13}-\frac{3}{5}+\frac{4}{10}=-\frac{79}{65}+\frac{4}{10}=-\frac{53}{65}\)
d, \(\left[\left(\frac{1}{8}-\frac{9}{7}+\frac{4}{6}-\frac{12}{7}-\frac{1}{2}\right)+\frac{5}{9}\right]\)
\(=\left[\left(\frac{1}{8}-\frac{9}{7}+\frac{2}{3}-\frac{12}{7}-\frac{1}{2}\right)+\frac{5}{9}\right]\)
\(=\left[\left(\frac{1}{8}-\frac{1}{2}-\frac{9}{7}-\frac{12}{7}+\frac{2}{3}\right)+\frac{5}{9}\right]\)
\(=-\frac{65}{24}+\frac{5}{9}=-2\frac{11}{72}\)
1.
-5-12=-17
(-14).14=-196
6-12=-6
2.
13-18-(-42)-15
= -5-(-42)-15
=(-5-15)-(-42)
=-20+42
=22
369-4{(-5)+4.(-8)}
= 369-4.{-5+(-32)}
=369-4.{-37}
=369-(-148)
=517
(-8)3:(-8)2 +8
=-8+8
=0
Bài 1 :
\(\left(-5\right)-12=-17\)
\(\left(-14\right).14=-196\)
\(6-12=-6\)
Bài 2:
\(13-18-\left(-42\right)-15=22\)
\(369-4.\left[\left(-5\right)+4.\left(-8\right)\right]=517\)\
\(\left(-8\right)^3:\left(-8\right)^2+8=0\)
Study well!!
8 + 1 - 2 + 8 - 14
= 9 - 2 + 8 - 14
= 7 + 8 - 14
= 15 - 14
= 1
~ Hok T ~