HOC24
Lớp học
Môn học
Chủ đề / Chương
Bài học
Thực hiện phép tính: (x3 – 8) : (x – 2)
A. x2 + 2 B. x2 – 2x + 4
C. x2 – 4 D. x3 + 2x + 4
Câu 1. Chọn câu đúng:
A. 24x4y3 : 12x3y3 = 2xy B. 18x6y5 : (-9x3y3) = 2x3y2
C. 40x5y2 : (-2x4y2) = -20x D. 9a3b4x4 : 3a2b2x2 = 3ab3x2
Tìm x, biết: 2x (x – 5) – 2x2 = 30
1 came - were watering
2 was talking
3 was practising - was reading
4 were climbing - visited
5 was talking - entered
6 was making - went
7 was crossong - stepped - fell
8 began - was planting
9 arrived - was writing
10 were walking - heard
#include <bits/stdc++.h>
using namespace std;
long long a[5],i,t1,t2;
int main()
{
t1=0;
t2=0;
for (i=1; i<=5; i++)
cin>>a[i];
if (a[i]%2==0) t1=t1+a[i];
else t2=t2+a[i];
}
for (i=1; i<=5; i++) cout<<a[i]<<" ";
cout<<endl;
cout<<t1<<" "<<t2;
return 0;