Basecamp
    Accueil
    Problèmes
    Concours
    Cours
    Classement
    Messages
    Store
    Discord
elliotalders0n
Se connecter
Shota
elliotalders0n
Avancé
Georgia
Georgia
Rejoint le 28 sept. 2024
Vue d'ensembleÉvaluationArticles

Évaluation
1222
Problèmes8
Soumissions11
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
elliotalders0n a résolu le problème Competitors’ quantity of the Olympiad (#43) à la tentative 5il y a 1 an
elliotalders0n a résolu le problème The level of palindrome (#29) à la tentative 3il y a 1 an
elliotalders0n a laissé un commentaire dans la discussion The level of palindrome (#29)il y a 2 ans

I think the provided test case is incorrect. Let n be the "palindrome level" counter:

865 is not a palindrome so 865 + 568 = 1433 (n = 1)

1433 is not a palindrome so 1433 + 3314 = 7474 (n = 2).

And this is where the program stops in the test case. But 7474 is obviously not a palindrome either.If we repeat the operation a third time we get: 7474 + 4747 = 12221 which IS a palindrome. Therefore, n = 3 is the answer.Am I missing something?

elliotalders0n a résolu le problème Cycle shifts (#27) à la tentative 3il y a 2 ans
elliotalders0n a résolu le problème Degree of symmetry (#19) à la première tentativeil y a 2 ans
elliotalders0n a résolu le problème The Ticket Chase (#14) à la première tentativeil y a 2 ans
elliotalders0n a laissé un commentaire dans la discussion Gardener (#10)il y a 2 ans

The English-language version of the problem description is quite confusing in my opinion

elliotalders0n a résolu le problème Gardener (#10) à la tentative 3il y a 2 ans
elliotalders0n a résolu le problème Chiffres (#2) à la première tentativeil y a 2 ans
elliotalders0n a résolu le problème Problème Simple (#1) à la première tentativeil y a 2 ans
elliotalders0n a rejoint le concours Eolymp Cup #2il y a 2 ans