Submission #209430

#TimeUsernameProblemLanguageResultExecution timeMemory
209430model_codePalindromic FizzBuzz (NOI19_palindrome)Cpython 3
100 / 100
232 ms5020 KiB
import sys line = sys.stdin.readline().split(" ") S = int(line[0]) E = int(line[1]) for i in range(E - S + 1): x = S + i x_str = str(x) if x_str == x_str[::-1]: print("Palindrome!") else: print(x)
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...