• LQDOJ
  • Trang chủ
  • Bài tập
  • Bài nộp
  • Thành viên
  • Kỳ thi
  • Nhóm
  • Giới thiệu
    • Status
    • Khóa học
    • Đề xuất ý tưởng
    • Proposal Problem
    • Proposal Contest
    • Tools
    • Báo cáo tiêu cực
    • Báo cáo lỗi

Tiếng Việt

Tiếng Việt
English

Đăng nhập

Đăng ký

Choker

  • Giới thiệu
  • Bài tập
  • Bài nộp

Rating
1427
Bài tập
16
Điểm
11514
Rating #
1652
Điểm #
13259

Giới thiệu

C++
int fun = 0;
cin >> bai;
if (bai.type == "two-pointers" || bai.type == "brute force") {
    fun++;
    if (bai.solution == "Sequential search") fun += 69;
}
if (bai.type == "Dynamic Programming") {
    fun--;
    if (bai.solution == "Tree") fun = -1;
}
if (fun < 0) cout << "Bruh, my brain so suck";
else cout << "Nai xừ";

«    »
Thứ 2
Thứ 3
Thứ 4
Thứ 5
Thứ 6
Thứ 7
CN
Ít
Nhiều

Các lần thi

, #

proudly powered by DMOJ| developed by LQDJudge team