15 Discussion / Question Topics

Remove Filter
Member Avatar for
Member Avatar for Fakeyede

Assume that there are n tyres that could be used by car, tricycle and bicycle. Write a program to accept n tyres and generate all the combinations (i.e. the number) of car(s), tricycle(s) and bicycle(s) that could exhaust the n tyres. Ensure that all the objects have fair share where …

Member Avatar for TrustyTony
0
281
Member Avatar for Lethugs

Hi, is it possible to combine Stored Procedure and Text Command Type in Select Statement? I have a stored procedure that compute available items, it quite a bit long select statement, now i need to call this statement in another select statement which is in text command type, how will …

Member Avatar for ryanjayson
0
462
Member Avatar for Forte1292

I have the numbers 0-8 so I can represent a state as 012345678 012345687 .... 876543201 876543210 This gives me 40320 ways to represent a state so I have a HashMap of size 40320 and I need a good way to make sure each state only corresponds to 1 key …

Member Avatar for Momerath
0
257
Member Avatar for chocolatte.lavista

guys, how to make a simple program that can combine basic C++,array,function and pointer altogether.can anyone help me please? thank you! :)

Member Avatar for chocolatte.lavista
0
140
Member Avatar for Start4me

I’m making a program that will be like a search engine, similar to a map program. There will be a text box for the user to search for a location. The thing I don’t know is that the user has 4 different combinations that they may enter. For example: **N229** …

Member Avatar for TnTinMN
0
291
Member Avatar for PhilEaton

0 down vote favorite I am trying to write a script that will return the latest values for a unique documentid-physician-patient triplet. I need the script to act similar to a group by statement, except group by only works with one column at a time. I need to date and …

Member Avatar for PhilEaton
0
212
Member Avatar for Z33shan

hello :) i'm looking for some good Combination Optimization Algorithm, which is easy to code aswell... (combination optimization algorithms like "Hungarian Algorithm", etc.) thanks :)

Member Avatar for Z33shan
0
145
Member Avatar for Z33shan

hello :) i'm looking for an algo to find out all possible combinations of a 2d array entries, wich are (Tasks x Processors). i.e, i have to find out all possible schedules to schedule tasks against processors. numbers of tasks and processors are variable. Suppose : ............P1.......P2.......P3 .................................... T1........3 ........6..........4 …

Member Avatar for raptr_dflo
0
296
Member Avatar for desert564

pls help me with this the user enters a number n.consider the sequence from 1 through n in ascending order.insert either '+' or'-' between each of the digits so that the resultant sum is zero. for eg: input=7 output= 1+2-3+4-5-6+7=0 1+2-3-4+5+6-7=0 1-2+3+4-5+6-7=0 1-2-3-4-5+6+7=0 however when i programmed it i only …

Member Avatar for NormR1
0
184
Member Avatar for jonsan32

I want to list helpful instructions on my website for customers, specifically designed for them. I'd like for one of 16 images to appear below the 3 dropdown boxes, dependent on the values selected. The process can be instant or initiated with a submit button, but I'd like for the …

0
144
Member Avatar for desert564

the following program is to print all possible sum combinations of a number for example 6=1+5,2+4,3+3,1+1+4,1+2+3 12=3+9,4+8,5+7,.......,1+1+2+3+5 but i m not getting any output...maybe there's a problem with proper ending of loops pls help[CODE]import java.io.*; public class sumpermutations { public void main()throws IOException { BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); int input,i,j,d=0,s=0,num=0,d1=0; …

Member Avatar for NormR1
0
254
Member Avatar for neverine

Hallo, Can somebody help me how to find combination between code´s. i have 30+ codes like this 7zv7pj. xjdcsa, efzlfl, xkaadt etd but i dont know any program or something what can i help me get more combination or understand how codes work. Ty for help

Member Avatar for neverine
0
122
Member Avatar for Dasharnb777

I have 10 words. How can I get all possible combinations of 5 words (n=10, k=5). The order does not matter. For example: "A", "B", "C", if k=2 (n=3 in this case), it would like AB, BC and AC. Maybe you know some usefull code or example. P.S. Sorry if …

Member Avatar for Dasharnb777
0
272
Member Avatar for Xintare

Hi there, I have two tables. The first one holds information about cities: Locations: [code] locID | locationID | locationName | countryCode | 1 | 2922239 | Berlin | de | 2 | 291074 | Paris | fr | 3 | 295522 | Orlando | us | 3 | 292345 …

Member Avatar for smantscheff
0
148
Member Avatar for daffi_gusti

Dear all, any one knows how to print string out based on combination using php. the string a b c d will print a b c d ab ac ad bc bd cd abc abd acd bcd abcd Thanks in advance....

Member Avatar for monica singh
0
145

The End.