Basecamp
    Ana Sayfa
    Problemler
    Yarışmalar
    Kurslar
    Derecelendirme
    Gönderiler
    Mağaza
    Discord
Viacheslav_Shevcenko
Giriş yap
Viacheslav_Shevcenko
Ukraine
Ukraine
Katıldı 24 Eyl 2023
Genel BakışGönderiler

Problemler18
Gönderimler19
Ara
2020
Şub
Mar
Nis
May
Haz
Tem
Ağu
Eyl
Eki
Kas
Ara
2021
Şub
Mar
Nis
May
Haz
Tem
Ağu
Eyl
Eki
Kas
Ara
2022
Şub
Mar
Nis
May
Haz
Tem
Ağu
Eyl
Eki
Kas
Ara
2023
Şub
Mar
Nis
May
Haz
Tem
Ağu
Eyl
Eki
Kas
Ara
2024
Şub
Mar
Nis
May
Haz
Tem
Ağu
Eyl
Eki
Kas
Ara
2025
Şub
Mar
Nis
May
Haz
Tem
Ağu
Eyl
Eki
Viacheslav_Shevcenko UOI 2025, Day 2 yarışmasına katıldı8 ay önce
Viacheslav_Shevcenko UOI 2025, Day 1 yarışmasına katıldı8 ay önce
Viacheslav_Shevcenko The vouchers (#6) tartışmasında bir yorum bıraktı9 ay önce

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 The vouchers (#6) problemini 2 denemede çözdü9 ay önce
Viacheslav_Shevcenko Annihilator Gun (#11727) problemini ilk denemede çözdü9 ay önce
Viacheslav_Shevcenko Eolymp Cup #2 yarışmasına katıldı9 ay önce
Viacheslav_Shevcenko Eolymp Cup #1 yarışmasına katıldı9 ay önce
Viacheslav_Shevcenko Weekend Practice #1 yarışmasına katıldı2 yıl önce
Viacheslav_Shevcenko ARIO 2024, Semifinals, 8-9 grades yarışmasına katıldı2 yıl önce
Viacheslav_Shevcenko ARIO 2024, Semifinals, 10-11 grades yarışmasına katıldı2 yıl önce
Viacheslav_Shevcenko Degree of symmetry (#19) problemini ilk denemede çözdü2 yıl önce
Viacheslav_Shevcenko Kaç defa olur? (#20) problemini ilk denemede çözdü2 yıl önce
Viacheslav_Shevcenko Array Partition (#11664) problemini ilk denemede çözdü2 yıl önce