Click here to Skip to main content
14,694,397 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 10:01
Membernamerg22-Oct-15 10:01 
SuggestionRe: Guidelines to code and create a service account to enable/disable wireless ? Pin
David Crow22-Oct-15 11:51
MemberDavid Crow22-Oct-15 11:51 
GeneralRe: Guidelines to code and create a service account to enable/disable wireless ? Pin
namerg22-Oct-15 12:47
Membernamerg22-Oct-15 12:47 
QuestionPodofo Pdf Library GetGlyphID? Pin
Svetlana Watkins21-Oct-15 6:59
MemberSvetlana Watkins21-Oct-15 6: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 8:28
MemberMember 1203224018-Oct-15 8: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 8:31
mveRichard MacCutchan18-Oct-15 8: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 8:32
mveRichard MacCutchan18-Oct-15 8: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 9:01
MemberMember 1206640717-Oct-15 9: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 22:06
mveRichard MacCutchan17-Oct-15 22: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 22:38
mveCPallini18-Oct-15 22: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 6:13
professionalPaul Conrad25-Oct-15 6:13 
QuestionPorting from MFC to QT Pin
HoanNguyen.UiT15-Oct-15 3:10
MemberHoanNguyen.UiT15-Oct-15 3:10 
AnswerRe: Porting from MFC to QT Pin
CPallini15-Oct-15 3:14
mveCPallini15-Oct-15 3:14 
AnswerRe: Porting from MFC to QT Pin
Jochen Arndt15-Oct-15 3:30
professionalJochen Arndt15-Oct-15 3:30 
AnswerRe: Porting from MFC to QT Pin
Albert Holguin19-Oct-15 9:26
professionalAlbert Holguin19-Oct-15 9:26 
Questionget the a 2days time dif fromcurrent time. Pin
ramina sen11-Oct-15 21:21
Memberramina sen11-Oct-15 21:21 
AnswerRe: get the a 2days time dif fromcurrent time. Pin
Daniel Pfeffer11-Oct-15 22:07
professionalDaniel Pfeffer11-Oct-15 22:07 
AnswerRe: get the a 2days time dif fromcurrent time. Pin
Jochen Arndt11-Oct-15 22:23
professionalJochen Arndt11-Oct-15 22:23 
GeneralRe: get the a 2days time dif fromcurrent time. Pin
Peter_in_278011-Oct-15 22:31
professionalPeter_in_278011-Oct-15 22:31 
GeneralRe: get the a 2days time dif fromcurrent time. Pin
Jochen Arndt11-Oct-15 22:33
professionalJochen Arndt11-Oct-15 22:33 
AnswerRe: get the a 2days time dif fromcurrent time. Pin
CPallini11-Oct-15 22:35
mveCPallini11-Oct-15 22:35 
GeneralRe: get the a 2days time dif fromcurrent time. Pin
Daniel Pfeffer12-Oct-15 4:51
professionalDaniel Pfeffer12-Oct-15 4:51 
Questionhow to implement alpha-beta pruning (tic tac toe) Pin
cristianpff10-Oct-15 0:36
Membercristianpff10-Oct-15 0:36 
AnswerRe: how to implement alpha-beta pruning (tic tac toe) Pin
CPallini11-Oct-15 5:42
mveCPallini11-Oct-15 5:42 
GeneralRe: how to implement alpha-beta pruning (tic tac toe) Pin
cristianpff12-Oct-15 4:01
Membercristianpff12-Oct-15 4: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.