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

Problemler21
Gönderimler23
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
Kas
Ara
2026
Şub
Mar
Viacheslav_Shevcenko Wires (#872) problemini 2 denemede çözdü5 ay önce
Viacheslav_Shevcenko Contemporary Art (#5990) problemini 2 denemede çözdü5 ay önce
Viacheslav_Shevcenko Dancing school (#160) problemini 5 denemede çözdü5 ay önce
Viacheslav_Shevcenko UOI 2025, Day 2 yarışmasına katıldı1 yıl önce
Viacheslav_Shevcenko UOI 2025, Day 1 yarışmasına katıldı1 yıl önce
Viacheslav_Shevcenko The Vouchers (#6) tartışmasında bir yorum bıraktı1 yıl ö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ü1 yıl önce
Viacheslav_Shevcenko Annihilator Gun (#11727) problemini ilk denemede çözdü1 yıl önce
Viacheslav_Shevcenko Eolymp Cup #2 yarışmasına katıldı1 yıl önce
Viacheslav_Shevcenko Eolymp Cup #1 yarışmasına katıldı1 yıl ö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