Submission #1093599

#TimeUsernameProblemLanguageResultExecution timeMemory
1093599overwatch9Palindromic FizzBuzz (NOI19_palindrome)C++17
69 / 100
6 ms1116 KiB
#include <bits/stdc++.h> using namespace std; int main() { int s, e; cin >> s >> e; for (int i = s; i <= e; i++) { int x = i; int y = 0; while (x > 0) { y *= 10; y += x % 10; x /= 10; } if (y == i) cout << "Palindrome!\n"; else cout << i << '\n'; } }
#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...