subject
Computers and Technology, 01.01.2020 19:31 nancyo

Se citește un număr natural n cu cel mult 16 cifre. fie q numărul de cifre ale numărului n. prin eliminarea unei singure cifre din scrierea numărului n se obține un șir de q numere. să se afișeze în ordine crescătoare, numerele nenule din acest șir care sunt prime cu numărul n.

date de intrare
fișierul de intrare numere16.in conține pe prima linie numărul n.

date de ieșire
fișierul de ieșire numere16.out va conține pe prima linie separate printr-un spațiu, numerele care respectă proprietatea din cerință.

restricții și precizări
2 ≤ q ≤ 16
dacă nu avem niciun număr care respectă cerința afișăm mesajul nu exista

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 02:30
If you turn on the lock alpha button , what happens
Answers: 1
question
Computers and Technology, 22.06.2019 18:00
Suppose an astronomer discovers a large, spherical-shaped body orbiting the sun. the body is composed mostly of rock, and there are no other bodies sharing its orbit. what is the best way to categorize this body? a. planet b. moon c. comet d. asteroid
Answers: 1
question
Computers and Technology, 22.06.2019 19:20
Write a program that reads a file consisting of students’ test scores in the range 0–200. it should then determine the number of students having scores in each of the following ranges: 0–24, 25–49, 50–74, 75–99, 100–124, 125–149, 150–174, and 175–200. output the score ranges and the number of students. (run your program with the following input data: 76, 89, 150, 135, 200, 76, 12, 100, 150, 28, 178, 189, 167, 200, 175, 150, 87, 99, 129, 149, 176, 200, 87, 35, 157, 189.)
Answers: 3
question
Computers and Technology, 23.06.2019 04:31
This graph compares the cost of room and board at educational institutions in texas.
Answers: 1
You know the right answer?
Se citește un număr natural n cu cel mult 16 cifre. fie q numărul de cifre ale numărului n. prin eli...
Questions
question
Mathematics, 16.12.2020 19:20
question
Mathematics, 16.12.2020 19:20
question
Biology, 16.12.2020 19:20
question
Arts, 16.12.2020 19:20
question
Mathematics, 16.12.2020 19:20
question
Mathematics, 16.12.2020 19:20
Questions on the website: 13722367