Basecamp
    Home
    Problems
    Contests
    Courses
    Rating
    Posts
    Store
    Discord
elliotalders0n
Sign in
Shota
elliotalders0n
Advanced
Georgia
Georgia
Joined Sep 28, 2024
OverviewRatingPosts

Rating
1222
Problems8
Submissions11
Tháng 5
Tháng 6
Tháng 7
Tháng 8
Tháng 9
Tháng 10
Tháng 11
Tháng 12
2021
Tháng 2
Tháng 3
Tháng 4
Tháng 5
Tháng 6
Tháng 7
Tháng 8
Tháng 9
Tháng 10
Tháng 11
Tháng 12
2022
Tháng 2
Tháng 3
Tháng 4
Tháng 5
Tháng 6
Tháng 7
Tháng 8
Tháng 9
Tháng 10
Tháng 11
Tháng 12
2023
Tháng 2
Tháng 3
Tháng 4
Tháng 5
Tháng 6
Tháng 7
Tháng 8
Tháng 9
Tháng 10
Tháng 11
Tháng 12
2024
Tháng 2
Tháng 3
Tháng 4
Tháng 5
Tháng 6
Tháng 7
Tháng 8
Tháng 9
Tháng 10
Tháng 11
Tháng 12
2025
Tháng 2
Tháng 3
Tháng 4
Tháng 5
Tháng 6
Tháng 7
Tháng 8
Tháng 9
Tháng 10
Tháng 11
Tháng 12
2026
Tháng 2
Tháng 3
elliotalders0n solved problem Competitors’ quantity of the Olympiad (#43) on 5 attempt1 năm trước
elliotalders0n solved problem The level of palindrome (#29) on 3 attempt1 năm trước
elliotalders0n left a comment in discussion The level of palindrome (#29)2 năm trước

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 solved problem Cycle shifts (#27) on 3 attempt2 năm trước
elliotalders0n solved problem Degree of symmetry (#19) on first attempt2 năm trước
elliotalders0n solved problem The Ticket Chase (#14) on first attempt2 năm trước
elliotalders0n left a comment in discussion Gardener (#10)2 năm trước

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

elliotalders0n solved problem Gardener (#10) on 3 attempt2 năm trước
elliotalders0n solved problem Digits (#2) on first attempt2 năm trước
elliotalders0n solved problem Simple problem (#1) on first attempt2 năm trước
elliotalders0n has joined contest Eolymp Cup #22 năm trước