One string is a normal string and another string is a shuffled one. Find out whether the given strings are equal or not after shuffling. - Link
Given an integer num (1<n<100). Find a minimal divisor that is not equal to the given number and the sum is equal to the given number. Input: 9
Output: 18
in a school, the students are divided into two categories based on their rank. students whose rank is less than 10 are considered as honor student and all others are considered as normal student. based on the rank, find to which category a student belongs
6. Find out the number of palindrome strings in a given string - Link
5. Find the minimum positive integer such that it is divisible by A and the sum of its digits is equal to B - Link
I want you to make an array of numbers for me. All you have to do is make a program that will let me input any random integer in one line. Afterwards, it will then print out all the numbers I've inputted, backwards, on separate lines.
Care to do that for me?
Input
The first line contains the size of the array.
The next line contains the integers separated by a space.
5
1·64·32·2·11
Output
Multiple lines containing integers on each.
11
2
32
64
1