HOC24
Lớp học
Môn học
Chủ đề / Chương
Bài học
:)
1, B
2, A
3, A
4,
I/
1 Although Phong was sleepy , he still stayed up late to watch the end of the game on TV .
2 Where was the new remote control that I bought last week ?
3 I turned up the TV because I wanted to hear the music clearly .
4 What kind of TV programme did you like watching most when you were small ?
5 Hoa likes eating noodles but her mother always cook rice for her .
1, A
2, D
4, A
5, B
1. is => are
2. are => is
3. are => is
4. need => needs
5. study => studying
6. an => bỏ
7. fast => fastest
8. you => do you
9. is => are
10. don't => doesn't
11. more short => shorter
12. never => ever
13. much => many
14. going => go
15. What is => Who are
16. a => the
17. than => of
18. beautifullest => most beautiful
19. tooths => teeth
20. play => go
21. for => in
22 . go => goes
23. taking => take
tham khảo
#include <bits/stdc++.h>
using namespace std;
long long n,i,nn,t1,t2,dem1,dem2,a[1000];
int main()
{
cin>>n;
for (i=1; i<=n; i++) cin>>a[i];
nn=a[1];
for (i=1; i<=n; i++) nn=min(nn,a[i]);
cout<<nn<<endl;
for (i=1; i<=n;i++)
if (a[i]%2==0) cout<<a[i]<<" ";
cout<<endl;
if (a[i]%2!=0) cout<<a[i]<<" ";
t1=0;
t2=0;
dem1=0;
dem2=0;
for (i=1; i<=n; i++)
if (a[i]%2==0)
t1+=a[i];
dem1++;
}
else
t2+=a[i];
dem2++;
cout<<t1<<" "<<dem1<<endl;
cout<<t2<<" "<<dem2;
return 0;
.....