Tên đăng nhập Điểm ▾ Bài tập Giới thiệu
1
Small
Big Boss
34232 549
2
NguyenHuuNhatQuang 1441
Nguyễn Hữu Nhật Quang, Đà Nẵng
33762 349

in4 ny

C++
long long mood = 0;
vector<string>Bai;
for(int i = 0; i < Bai.size(); i ++)
  if(Bai[i] == "Math" or Bai[i] == "Combinatorics")
    mood ++;
  if(Bai[i] == "Tree" or Bai[i] == "Graph")
    mood --;
  if(mood < 0)
    break;
  if(Bai[i] == "Segment tree")
    Bai[i] = "Sqrt decompostion";
  if(Bai[i] == "KMP" or Bai[i] == "Z" or Bai[i] == "Trie")
    Bai[i] = "Hash";
}
3
04napdung
Đinh Sỹ Quốc Doanh
10634 59
4 10559 46
5 9783 78

Em mới tập code

6 7997 33
7 6841 36
8 5805 23
9 5535 26
10 5424 33
11 4597 28
12 4259 17
13 2847 8
14 2670 11
15 2149 7
16 819 4
17 150 1
18 0 0
18 0 0
18 0 0
18 0 0