• VNOJ
  • Home
  • PRoblems
  • Submissions
  • Users
    >
    • Organizations
  • Contests
  • Tag
  • About
    >
    • FAQ
    • Custom checker
    • Judges
    • Devlog
    • Github
    • Tickets
  • Wiki
  • Thư viện đề thi
  • Đề xuất contest
VI EN Log in  or  Sign up

HV_DuongPhucThienNhan_BL_2022

  • About
  • Statistics
  • Blogs

Problems solved: 367
Rank by points: #195
Total points: 75.89
Contribution points: -6

View submissions

12 contests written
Rank by rating: #3382
Rating: 1174
Min. rating: 1106
Max rating: 1219

From Trường Đại học Khoa học Tự nhiên - Đại học Quốc gia TP.HCM, Trường THPT chuyên Bảo Lộc, Lâm Đồng, Trường THPT chuyên Hưng Yên, Trường Đại học VinUni

About

Target:

Giới thiệu

  • Vào học lập trình đã được 5 năm (C++, Pascal, Python + PyPy, Scratch, ...)
  • Đang học tại trường THPT Chuyên Bảo Lộc
  • Facebook: DuongNhan AC
  • VNOI: HV_DuongPhucThienNhan_BL_2022
  • LQDOJ: DuongNhanAC, DuongNhanACkB
  • Trình độ chỉ mới bằng nghiệp dư 2 năm:(
  • Cần cù thì bù siêng năng

Typing SVG

  • Giải Khuyến Khích Bảng Không Chuyên Olympic MT&TN lần thứ IV - 2023 (lần đầu thi nên hơi non trình tí:v)
  • Tạm thời chưa có gì để thêm cả=)
    print("Hello World!")
    cout << "Hello World!";
    System.out.println("Hello World!");
    Write('Hello World!');
    <?php echo "Hello World!";
Sample C++ Code
#include<bits/stdc++.h>
#define lli long long int
#define ll long long
#define ld long double
#define usint unsigned long long int
//we are not recommended to using "int64_t"
#define endl "\n"
#define push_back emplace_back
#define mod (lli)(1e9+7)
#define taskname "main"
#define fast cin.tie(0)->sync_with_stdio(0);
#define file freopen(taskname".inp","r",stdin); freopen(taskname".out","w",stdout);
using namespace std;
signed main(){
    fast; 
    //file;
    //your code goes here
   return 0;
}
Maximum Sum of Path from ~(1, 1)~ to ~(n, n)~

Only move right and down

#include <bits/stdc++.h>
#define ll long long

using namespace std;
ll dp[505][505];

signed main()
{
    ios_base::sync_with_stdio(false),
    cin.tie(0), cout.tie(0);
    int m,n;
    cin >> m >> n;
    int a[m][n];
    for (int i = 0; i < m; i++){
        for (int j = 0; j < n; j++){
            cin >> a[i][j];
        }
    }
    dp[0][0] = a[0][0];
    for (int j = 1; j < m; j++){
        dp[0][j] = dp[0][j-1] + a[0][j];
    }
    for (int i = 1; i < m; i++){
        for (int j = 0; j < n; j++){
            if (j == 0){
                dp[i][j] = a[i][j] + dp[i-1][j];
            }
            else{
                dp[i][j] = max(a[i][j]+dp[i-1][j], a[i][j]+dp[i][j-1]);
            }
        }
    }
    cout << dp[m-1][n-1];
    return 0;
}

father light science produce indoor symbol opera chapter slice gloom milk sponsor juice word mouse ask glove sea table daughter universe symbol space tribe dune

Badges & Awards

This user has not earned any badges or awards.

«    »
Sun
Mon
Tues
Wed
Thurs
Fri
Sat
Less
More

Rating history

, #

proudly powered by DMOJ | follow us on Github and Facebook