Click here to Skip to main content
15,884,176 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralGuidelines to code and create a service account to enable/disable wireless ? Pin
namerg22-Oct-15 9:01
namerg22-Oct-15 9:01 
SuggestionRe: Guidelines to code and create a service account to enable/disable wireless ? Pin
David Crow22-Oct-15 10:51
David Crow22-Oct-15 10:51 
GeneralRe: Guidelines to code and create a service account to enable/disable wireless ? Pin
namerg22-Oct-15 11:47
namerg22-Oct-15 11:47 
QuestionPodofo Pdf Library GetGlyphID? Pin
Svetlana Watkins21-Oct-15 5:59
Svetlana Watkins21-Oct-15 5:59 
QuestionI Want to Know about dangling else , Territory operators and Logical operator in switch in c++ Please Give me Articles that Help me ! am learning this first time Pin
Member 1203224018-Oct-15 7:28
Member 1203224018-Oct-15 7:28 
AnswerRe: I Want to Know about dangling else , Territory operators and Logical operator in switch in c++ Please Give me Articles that Help me ! am learning this first time Pin
Richard MacCutchan18-Oct-15 7:31
mveRichard MacCutchan18-Oct-15 7:31 
AnswerRe: I Want to Know about dangling else , Territory operators and Logical operator in switch in c++ Please Give me Articles that Help me ! am learning this first time Pin
Richard MacCutchan18-Oct-15 7:32
mveRichard MacCutchan18-Oct-15 7:32 
QuestionDelete the least number of integers from a given set of integers so that the product of the remaining integers in the set is a perfect square. Pin
Member 1206640717-Oct-15 8:01
Member 1206640717-Oct-15 8:01 
Delete the least number of integers from a given set of integers so that the product of the remaining integers in the set is a perfect square. In case there is more than one solution then find the solution that gives the largest perfect square. Assume that each integer contains five or less number of digits. The total number of integers in the given set is twenty or less.

Input
First line will be number of test cases
The input may contain multiple test cases.
For each test case there is a single input line. The line contains the given set of integers.

Output
For each test case there is only one output line. The line simply prints the integers to be deleted in ascending order. There are two special cases; print output for these cases as indicated below.
Case 1: No integer is to be deleted: Print 0 as output.
Case 2: All integers are to be deleted: Print all integers in ascending order.

Sample Input
4

2 3 12 18 24

12 10 15 18

4 12 10 15

10 12 15

Sample Output

4

Case#1 = 24
Case#2 = 0
Case#3 = 10 12 15
Case#4 = 10 12 15
AnswerRe: Delete the least number of integers from a given set of integers so that the product of the remaining integers in the set is a perfect square. Pin
Richard MacCutchan17-Oct-15 21:06
mveRichard MacCutchan17-Oct-15 21:06 
QuestionRe: Delete the least number of integers from a given set of integers so that the product of the remaining integers in the set is a perfect square. Pin
CPallini18-Oct-15 21:38
mveCPallini18-Oct-15 21:38 
QuestionRe: Delete the least number of integers from a given set of integers so that the product of the remaining integers in the set is a perfect square. Pin
Paul Conrad25-Oct-15 5:13
professionalPaul Conrad25-Oct-15 5:13 
QuestionPorting from MFC to QT Pin
HoanNguyen.UiT15-Oct-15 2:10
HoanNguyen.UiT15-Oct-15 2:10 
AnswerRe: Porting from MFC to QT Pin
CPallini15-Oct-15 2:14
mveCPallini15-Oct-15 2:14 
AnswerRe: Porting from MFC to QT Pin
Jochen Arndt15-Oct-15 2:30
professionalJochen Arndt15-Oct-15 2:30 
AnswerRe: Porting from MFC to QT Pin
Albert Holguin19-Oct-15 8:26
professionalAlbert Holguin19-Oct-15 8:26 
Questionget the a 2days time dif fromcurrent time. Pin
ramina sen11-Oct-15 20:21
ramina sen11-Oct-15 20:21 
AnswerRe: get the a 2days time dif fromcurrent time. Pin
Daniel Pfeffer11-Oct-15 21:07
professionalDaniel Pfeffer11-Oct-15 21:07 
AnswerRe: get the a 2days time dif fromcurrent time. Pin
Jochen Arndt11-Oct-15 21:23
professionalJochen Arndt11-Oct-15 21:23 
GeneralRe: get the a 2days time dif fromcurrent time. Pin
Peter_in_278011-Oct-15 21:31
professionalPeter_in_278011-Oct-15 21:31 
GeneralRe: get the a 2days time dif fromcurrent time. Pin
Jochen Arndt11-Oct-15 21:33
professionalJochen Arndt11-Oct-15 21:33 
AnswerRe: get the a 2days time dif fromcurrent time. Pin
CPallini11-Oct-15 21:35
mveCPallini11-Oct-15 21:35 
GeneralRe: get the a 2days time dif fromcurrent time. Pin
Daniel Pfeffer12-Oct-15 3:51
professionalDaniel Pfeffer12-Oct-15 3:51 
Questionhow to implement alpha-beta pruning (tic tac toe) Pin
cristianpff9-Oct-15 23:36
cristianpff9-Oct-15 23:36 
AnswerRe: how to implement alpha-beta pruning (tic tac toe) Pin
CPallini11-Oct-15 4:42
mveCPallini11-Oct-15 4:42 
GeneralRe: how to implement alpha-beta pruning (tic tac toe) Pin
cristianpff12-Oct-15 3:01
cristianpff12-Oct-15 3:01 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.