Basecamp
    Accueil
    Problèmes
    Concours
    Cours
    Classement
    Messages
    Store
    Discord
Viacheslav_Shevcenko
Se connecter
Viacheslav_Shevcenko
Ukraine
Ukraine
Rejoint le 24 sept. 2023
Vue d'ensembleArticles

Problèmes21
Soumissions23
mai
juin
juil.
août
sept.
oct.
nov.
déc.
2021
févr.
mars
avr.
mai
juin
juil.
août
sept.
oct.
nov.
déc.
2022
févr.
mars
avr.
mai
juin
juil.
août
sept.
oct.
nov.
déc.
2023
févr.
mars
avr.
mai
juin
juil.
août
sept.
oct.
nov.
déc.
2024
févr.
mars
avr.
mai
juin
juil.
août
sept.
oct.
nov.
déc.
2025
févr.
mars
avr.
mai
juin
juil.
août
sept.
oct.
nov.
déc.
2026
févr.
mars
Viacheslav_Shevcenko a résolu le problème Wires (#872) à la tentative 2il y a 5 mois
Viacheslav_Shevcenko a résolu le problème Contemporary Art (#5990) à la tentative 2il y a 5 mois
Viacheslav_Shevcenko a résolu le problème Dancing school (#160) à la tentative 5il y a 5 mois
Viacheslav_Shevcenko a rejoint le concours UOI 2025, Day 2il y a 1 an
Viacheslav_Shevcenko a rejoint le concours UOI 2025, Day 1il y a 1 an
Viacheslav_Shevcenko a laissé un commentaire dans la discussion The Vouchers (#6)il y a 1 an

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 a résolu le problème The Vouchers (#6) à la tentative 2il y a 1 an
Viacheslav_Shevcenko a résolu le problème Pistolet Annihilateur (#11727) à la première tentativeil y a 1 an
Viacheslav_Shevcenko a rejoint le concours Eolymp Cup #2il y a 1 an
Viacheslav_Shevcenko a rejoint le concours Eolymp Cup #1il y a 1 an
Viacheslav_Shevcenko a rejoint le concours Weekend Practice #1il y a 2 ans
Viacheslav_Shevcenko a rejoint le concours ARIO 2024, Semifinals, 8-9 gradesil y a 2 ans
Viacheslav_Shevcenko a rejoint le concours ARIO 2024, Semifinals, 10-11 gradesil y a 2 ans
Viacheslav_Shevcenko a résolu le problème Degree of symmetry (#19) à la première tentativeil y a 2 ans
Viacheslav_Shevcenko a résolu le problème How many times to repeat? (#20) à la première tentativeil y a 2 ans
Viacheslav_Shevcenko a résolu le problème Array Partition (#11664) à la première tentativeil y a 2 ans