Basecamp
    Accueil
    Problèmes
    Concours
    Cours
    Classement
    Messages
    Store
    Discord
user432081
Se connecter
Natalya Plotnikova
user432081
Rejoint le 17 oct. 2024
Vue d'ensembleArticles

Problèmes26
Soumissions80
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
user432081 a résolu le problème Fill (#586) à la première tentativeil y a 8 mois
user432081 a résolu le problème Folding (#5179) à la tentative 2il y a 9 mois
user432081 a résolu le problème Delete one digit (#8625) à la tentative 2il y a 10 mois
user432081 a résolu le problème Contr-operation (#1952) à la première tentativeil y a 10 mois
user432081 a résolu le problème Oddities (#6199) à la première tentativeil y a 10 mois
user432081 a résolu le problème Big difference (#5718) à la première tentativeil y a 10 mois
user432081 a résolu le problème Class (#8770) à la tentative 2il y a 10 mois
user432081 a résolu le problème Wardrobe (#1312) à la première tentativeil y a 10 mois
user432081 a résolu le problème Magic Square (#2554) à la tentative 85il y a 10 mois
user432081 a laissé un commentaire dans la discussion Transfer (#84)il y a 10 mois

Точно ли в задаче корректные тесты? Дебаг-сабмитами определила тест 4:

1 10.00 10.10
10.09

Почему тут ожидается ответ -1?

Мыже можем перевести 4 тугрика, на S_1 останется 10.09 - 4 - 0.1 = 5.99. А на основном счете будет 14.00, что больше, чем 10.10...

user432081 a résolu le problème InterCity (#6171) à la tentative 11il y a 10 mois
user432081 a laissé un commentaire dans la discussion Mad Veterinarian (#5129)il y a 11 mois

В задаче явно не указано, что делать в случаях, если решений несколько. Судя по тестовой отправке с ответами из условия, первый тест - это как раз сэмпл. Ответ из условия проходит. Однако, для первого набора данных и первой голововломки так же подходит ответ Caa:

0 1 1 (применяем машину C: 0 0 1 -> 1 1 0) 1 2 0 (применяем машину a: 0 1 0 -> 1 0 0) 2 1 0 (применяем машину a: 0 1 0 -> 1 0 0) 3 0 0

Хотелось бы или пояснить, как именно формировать последовательность операций при равных длинах, или же пофиксить чекер, чтобы он принимал любой подходящий ответ.

user432081 a résolu le problème Mad Veterinarian (#5129) à la tentative 3il y a 11 mois
user432081 a résolu le problème Restoration of points quantity (#1886) à la tentative 4il y a 11 mois
user432081 a résolu le problème Metro (#2795) à la tentative 24il y a 1 an
user432081 a résolu le problème Candle Box (#7934) à la première tentativeil y a 1 an
user432081 a résolu le problème Divisibility (#8522) à la première tentativeil y a 1 an
user432081 a résolu le problème Full kilograms (#9924) à la première tentativeil y a 1 an
user432081 a résolu le problème Prime Soccer (#1580) à la première tentativeil y a 1 an
user432081 a résolu le problème The value of the expression 5 (#8835) à la première tentativeil y a 1 an
user432081 a résolu le problème Geometry Paradox (#1043) à la tentative 34il y a 1 an
user432081 a résolu le problème Evens in the interval (#8936) à la première tentativeil y a 1 an
user432081 a résolu le problème Robot Lawn Mowers (#2723) à la tentative 2il y a 1 an
user432081 a résolu le problème Point (#7451) à la première tentativeil y a 1 an
user432081 a résolu le problème Massive Numbers (#1213) à la première tentativeil y a 1 an