Computers and Technology

Discussions My Submissions
Java 8
Curious Shubham (100 Marks)
Draft save
1
2
3
4
There are 26 groups of people in Shubham's Company. At lunchtime, they all want to get some food to eat as soon as possible. All
the groups have made plan to get some food as soon as possible. According to the plan, every person of the group will share the
description of food he/she wants to eat so that all the group members will be able to order the food on the behalf of his/her group.
All the persons stand at various locations in the queue and whoever will get the food first, will distribute the food among all the
group.
But there is a weird procedure of getting the food from a queue. People having even indices form a new queue and process repeats
until only 1 person remains in the queue. He/she will able to order some food of his choice. Shubham and his friends are curious
about the group which will be able to get some food.
Input Format
The first line of input consists of the number of people present in the Queue, N.
The second line of input consists of a string that represents the group of each person who is standing in the queue.
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
Constraints
1 The string consists of uppercase letters only.

answer
Answers: 1

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 02:00, alexabessin
Aisha has finished working on a word processing document that contains 15 pages. she has added some special elements in the first three pages, page 9 and 10, and page 15 from the document. she wants to print only these pages to see how they look. which option is the correct way to represent (in the print dialog box) the pages that aisha wants to print?
Answers: 3
image
Computers and Technology, 23.06.2019 17:00, osirisarellane3792
*! 20 points! *jeff wants to create a website with interactive and dynamic content. which programming language will he use? a. dhtml b. html c. css d. javascript
Answers: 1
image
Computers and Technology, 23.06.2019 21:30, shadoris26
To move a file or folder in microsoft windows, you can click and hold down the left mouse button while moving your mouse pointer to the location you want the file or folder to be, which is also known as.
Answers: 3
image
Computers and Technology, 24.06.2019 00:40, sierravick123owr441
Use a software program or a graphing utility with matrix capabilities to solve the system of linear equations using an inverse matrix. x1 + 2x2 βˆ’ x3 + 3x4 βˆ’ x5 = 6 x1 βˆ’ 3x2 + x3 + 2x4 βˆ’ x5 = βˆ’6 2x1 + x2 + x3 βˆ’ 3x4 + x5 = 3 x1 βˆ’ x2 + 2x3 + x4 βˆ’ x5 = βˆ’3 2x1 + x2 βˆ’ x3 + 2x4 + x5 = 5
Answers: 3
Do you know the correct answer?
Discussions My Submissions
Java 8
Curious Shubham (100 Marks)
Draft save
1<...

Questions in other subjects: