Basecamp
    Ana Səhifə
    Problemlər
    Müsabiqələr
    Kurslar
    Reytinq
    Postlar
    Mağaza
    Discord
Viacheslav_Shevcenko
Daxil ol
Viacheslav_Shevcenko
Ukraine
Ukraine
24 sen 2023 tarixində qoşuldu
Ümumi baxışYazılar

Məsələlər21
Təqdimatlar23
fev
mar
apr
may
iyn
iyl
avq
sen
okt
noy
dek
2021
fev
mar
apr
may
iyn
iyl
avq
sen
okt
noy
dek
2022
fev
mar
apr
may
iyn
iyl
avq
sen
okt
noy
dek
2023
fev
mar
apr
may
iyn
iyl
avq
sen
okt
noy
dek
2024
fev
mar
apr
may
iyn
iyl
avq
sen
okt
noy
dek
2025
fev
mar
apr
may
iyn
iyl
avq
sen
okt
noy
dek
Viacheslav_Shevcenko problemi həll etdi Keçir (#872) 2 cəhddə2 ay öncə
Viacheslav_Shevcenko problemi həll etdi Müasir incəsənət (#5990) 2 cəhddə2 ay öncə
Viacheslav_Shevcenko problemi həll etdi Rəqs məktəbi (#160) 5 cəhddə2 ay öncə
Viacheslav_Shevcenko müsabiqəyə qoşuldu UOI 2025, Day 210 ay öncə
Viacheslav_Shevcenko müsabiqəyə qoşuldu UOI 2025, Day 110 ay öncə
Viacheslav_Shevcenko müzakirədə şərh etdi Putyovkalar (#6)11 ay öncə

Andremaxico How did you manage to get such results? Maybe you misunderstood the problem. Here are a few possible outcomes in the example:

  • Selling first, second, third, then fourth ticket respectively: max(2 - 0, 0) * 37 + max(3 - 1, 0) * 45 + max(1 - 2, 0) * 46 + max(4 - 3, 0) * 30 = 194

  • Selling fourth, third, second, then first ticket respectively:max(4 - 0, 0) * 30 + max(1 - 1, 0) * 46 + max(3 - 2, 0) * 45 + max(2 - 3, 0) * 37 = 165

  • Selling second, first, fourth, then third ticket respectively(the maximum possible result):max(3 - 0, 0) * 45 + max(2 - 1, 0) * 37 + max(4 - 2, 0) * 30 + max(1 - 3, 0) * 46 = 232

Viacheslav_Shevcenko problemi həll etdi Putyovkalar (#6) 2 cəhddə11 ay öncə
Viacheslav_Shevcenko problemi həll etdi Annihilator Silahı (#11727) ilk cəhddə12 ay öncə
Viacheslav_Shevcenko müsabiqəyə qoşuldu Eolymp Cup #212 ay öncə
Viacheslav_Shevcenko müsabiqəyə qoşuldu Eolymp Cup #112 ay öncə
Viacheslav_Shevcenko müsabiqəyə qoşuldu Weekend Practice #12 il öncə
Viacheslav_Shevcenko müsabiqəyə qoşuldu ARIO 2024, Semifinals, 8-9 grades2 il öncə
Viacheslav_Shevcenko müsabiqəyə qoşuldu ARIO 2024, Semifinals, 10-11 grades2 il öncə
Viacheslav_Shevcenko problemi həll etdi Simmetriya dərəcəsi (#19) ilk cəhddə2 il öncə
Viacheslav_Shevcenko problemi həll etdi Neçə dəfə olar? (#20) ilk cəhddə2 il öncə
Viacheslav_Shevcenko problemi həll etdi Massivin bölünməsi (#11664) ilk cəhddə2 il öncə