15,885,216 members
Home / Discussions / C / C++ / MFC

# C / C++ / MFC

 Re: reverse division to convert decimals to dinary Omegaclass1-Nov-09 10:10 Omegaclass 1-Nov-09 10:10
 Re: reverse division to convert decimals to dinary CPallini1-Nov-09 10:13 CPallini 1-Nov-09 10:13
 Re: reverse division to convert decimals to dinary Omegaclass1-Nov-09 12:28 Omegaclass 1-Nov-09 12:28
 Re: reverse division to convert decimals to dinary David Crow2-Nov-09 4:08 David Crow 2-Nov-09 4:08
 Re: reverse division to convert decimals to dinary Omegaclass2-Nov-09 17:15 Omegaclass 2-Nov-09 17:15
 Re: reverse division to convert decimals to dinary David Crow3-Nov-09 2:44 David Crow 3-Nov-09 2:44
 Re: reverse division to convert decimals to dinary Omegaclass3-Nov-09 19:08 Omegaclass 3-Nov-09 19:08
 Ugly Numbers Error anollipian31-Oct-09 14:21 anollipian 31-Oct-09 14:21
 HI Would U plz help me with this Code I cant find the Error !! here's the Question:-http://uva.onlinejudge.org/external/1/136.html[^] here's the code .. "that shows a wrong output" ```#include #include using namespace std; int main () { int uglylist[1500]; uglylist[0]=1; int maximum; int max2=0; int max3=0; int max5=0; for(int i = 1; i<1500; i++) { maximum =uglylist[i-1]; for(int j=0;j<=i;j++) { if (uglylist[i]>max2) { max2=uglylist[j]*2; break ; } if (uglylist[i]>max3) { max3=uglylist[j]*3; break ; } if (uglylist[i]>max5) { max5=uglylist[j]*5; break ; } uglylist[i]=min(max2,min(max3,max5)); } } cout<
 Re: Ugly Numbers Error LunaticFringe31-Oct-09 14:30 LunaticFringe 31-Oct-09 14:30
 Re: Ugly Numbers Error anollipian31-Oct-09 14:44 anollipian 31-Oct-09 14:44
 Re: Ugly Numbers Error Luc Pattyn1-Nov-09 3:59 Luc Pattyn 1-Nov-09 3:59
 Re: Ugly Numbers Error David Crow31-Oct-09 16:26 David Crow 31-Oct-09 16:26
 2 Errors MrMcIntyre31-Oct-09 6:09 MrMcIntyre 31-Oct-09 6:09
 Re: 2 Errors Chris Losinger31-Oct-09 6:10 Chris Losinger 31-Oct-09 6:10
 Re: 2 Errors enhzflep31-Oct-09 6:17 enhzflep 31-Oct-09 6:17
 Re: 2 Errors MrMcIntyre31-Oct-09 6:25 MrMcIntyre 31-Oct-09 6:25
 Re: 2 Errors enhzflep31-Oct-09 6:36 enhzflep 31-Oct-09 6:36
 Re: 2 Errors MrMcIntyre31-Oct-09 6:40 MrMcIntyre 31-Oct-09 6:40
 Re: 2 Errors David Crow31-Oct-09 16:33 David Crow 31-Oct-09 16:33
 Functional Parameters Paul Belikian31-Oct-09 3:59 Paul Belikian 31-Oct-09 3:59
 Re: Functional Parameters `Randor` 31-Oct-09 4:08 `Randor` 31-Oct-09 4:08
 Re: Functional Parameters Paul Belikian31-Oct-09 4:20 Paul Belikian 31-Oct-09 4:20
 Re: Functional Parameters Richard MacCutchan31-Oct-09 4:11 Richard MacCutchan 31-Oct-09 4:11
 Re: Functional Parameters Paul Belikian31-Oct-09 4:21 Paul Belikian 31-Oct-09 4:21
 How to find unallocated sector in a disk programaticaaly Shiv Murti Pal31-Oct-09 2:24 Shiv Murti Pal 31-Oct-09 2:24
 Last Visit: 31-Dec-99 18:00     Last Update: 24-Apr-24 12:10 Refresh ᐊ Prev1...2420242124222423242424252426242724282429 Next ᐅ