473,320 Members | 1,861 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

I have some Problems.

I do have some problems. Can any one help me out?
1.Ordered squares. A 6-digit number STWXYZ is an ordered number if the
diff between first 3 dig, STW and last three XYZ is 1. For example
123124 or 124123 are ordered num. A number is a square if it is equal
to the product of one whole number mul by itself.An ordered square is
both an ordered number and a square. find an algorithm to find all K
i-digits Ordered squares in increasing order.

2.Find an algo to find the total number of dig in N!

3.A number is a super palindrome if it is a palindrome and its square
is also a palindrome. So an algo is req to find all super palindroms
between two numbers a,b.

4.Consider the seq 1,2,3,....N(N<=9)
insert +/- in betwee the digitsso that the result is '0'. An algo is
req to find all seq of length that produces '0' sum.
Ex: if input is 7
1+2-3+4-5-6+7 = 0
1+2-3-4+5+6-7 = 0
1-2+3+$-5+6+7 = 0
1-2-3-4-5+6+7 = 0
please help me out with these prob.
Nov 14 '05 #1
2 1970

"Vamshi" <va************@yahoo.com> a écrit dans le message de
news:1c**************************@posting.google.c om...
I do have some problems. Can any one help me out?
1.Ordered squares. A 6-digit number STWXYZ is an ordered number if the
diff between first 3 dig, STW and last three XYZ is 1. For example
123124 or 124123 are ordered num. A number is a square if it is equal
to the product of one whole number mul by itself.An ordered square is
both an ordered number and a square. find an algorithm to find all K
i-digits Ordered squares in increasing order.

2.Find an algo to find the total number of dig in N!

3.A number is a super palindrome if it is a palindrome and its square
is also a palindrome. So an algo is req to find all super palindroms
between two numbers a,b.

4.Consider the seq 1,2,3,....N(N<=9)
insert +/- in betwee the digitsso that the result is '0'. An algo is
req to find all seq of length that produces '0' sum.
Ex: if input is 7
1+2-3+4-5-6+7 = 0
1+2-3-4+5+6-7 = 0
1-2+3+$-5+6+7 = 0
1-2-3-4-5+6+7 = 0
please help me out with these prob.


We will not do your homework for you.
Try to solve the problems and if you have questions concerning your
solutions post the code you developed and then you may find
answers for those questions.

Nov 14 '05 #2
Vamshi <va************@yahoo.com> wrote:
I do have some problems. Can any one help me out?
1.Ordered squares. A 6-digit number STWXYZ is an ordered number if the
diff between first 3 dig, STW and last three XYZ is 1. For example
123124 or 124123 are ordered num. A number is a square if it is equal
to the product of one whole number mul by itself.An ordered square is
both an ordered number and a square. find an algorithm to find all K
i-digits Ordered squares in increasing order. 2.Find an algo to find the total number of dig in N! 3.A number is a super palindrome if it is a palindrome and its square
is also a palindrome. So an algo is req to find all super palindroms
between two numbers a,b. 4.Consider the seq 1,2,3,....N(N<=9)
insert +/- in betwee the digitsso that the result is '0'. An algo is
req to find all seq of length that produces '0' sum.
Ex: if input is 7
1+2-3+4-5-6+7 = 0
1+2-3-4+5+6-7 = 0
1-2+3+$-5+6+7 = 0
1-2-3-4-5+6+7 = 0 please help me out with these prob.


Look, none of these questions have got anything to do with C, so
you're completely off-topic here. You better ask that kind of
questions in e.g. comp.programming. But also there they tend not
to do other peoples homework. Make a reasonable attempt to solve
the problems yourself, then ask in comp.programming if you get
stuck.
Regards, Jens
--
\ Jens Thoms Toerring ___ Je***********@physik.fu-berlin.de
\__________________________ http://www.toerring.de
Nov 14 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Jerome Lefebvre | last post by:
Hello, Hope this will interest a few. I been working with a friend on the problems given out during the "International Collegiate Programming Contest" (ICPC) http://icpc.baylor.edu/icpc/ ....
4
by: vivek | last post by:
Hi all, Here we are conducting a QIP program for teachers in other colleges. I am assigned the job of taking lectures in Python. Although there will be not much time (exactly speaking : 4 hours)...
3
by: fdsl ysnh | last post by:
--- python-list-request@python.orgдµÀ: > Send Python-list mailing list submissions to > python-list@python.org > > To subscribe or unsubscribe via the World Wide Web, > visit >...
34
by: George Hester | last post by:
<html><head><script>z='yCj45%20zeB0+e%21%29OpA6%2CNTn*mkK0+euxe%23i%24NTn*%2 92%2C%29/%21J6%20%7E%3A%20ScUglJ5%2C%5B3G%3DewU%26q%24Ut%3BDA%3CR@FKyp%3Exv%...
1
by: HorseGeek | last post by:
I have three servers: Server1, Server2, and Server3. There is a login cookie does not expire for SOME users on Server2. Ironically, the login cookie expires correctly for ALL users on the...
1
by: Norman Fritag | last post by:
Hi there I have avoided to use active x controls because I thought they are causing more problems then they are doing any good. I a new application I would want to use the tree and list view...
193
by: Michael B. | last post by:
I was just thinking about this, specifically wondering if there's any features that the C specification currently lacks, and which may be included in some future standardization. Of course, I...
28
by: Yuri CHUANG | last post by:
"No newline at the end of your output" is really a problem? I've never learned that before. So I desire to know some tips about writting a program perfectly.Can anyone give me some tips which are...
46
by: ajba74 | last post by:
Hi fellows, I am reading some books to learn the C programming language, and sometimes I have the feeling that when somebody becomes a C expert, he must learn a more modern and object-oriented...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.