Vcoderz Community
We create websites that have it all, beauty & brains
Lebanon Web Design & Development - Coddict
 

Go Back   Vcoderz Community > Community Forums > Vcoderz Lobby

Notices

Vcoderz Lobby « Everything and everywhere. »

Reply
 
Share Thread Tools Search this Thread
Old 04-19-2008   #181
J()e
Registered Member
 
J()e's Avatar
 
Last Online: 06-13-2011
Join Date: Jan 2007
Posts: 3,530
Thanks: 1,762
Thanked 1,429 Times in 897 Posts
Groans: 0
Groaned at 0 Times in 0 Posts
Default Re: MATHS riddle

Geometric maths riddle:

fi 3inna hal triangle:

with A point fixe M and N are 2 pts variables (not fixe)

we have enno AM/AN=cte
the angle formed bye [NA,AM]=cte

chou howeh the geometric location for N if M btet7arrak 3ala el droite (AM)

answer by pm

ps:ejetna bl saff w i was the 1st one to solve it mish enno ana yaba aw chi


__________________
[
J()e is offline   Reply With Quote
The Following 2 Users Say Thank You to J()e For This Useful Post:
Jess (04-19-2008), Sogelec (04-19-2008)
Old 04-19-2008   #182
Tawa
 
Tawa's Avatar
 
Last Online: 12-20-2021
Join Date: Mar 2006
Posts: 6,245
Thanks: 2,121
Thanked 3,365 Times in 1,740 Posts
Groans: 29
Groaned at 44 Times in 35 Posts
Default Re: MATHS riddle

Quote:
Originally Posted by J()e View Post
2nd winner:

Tawa w 7alla mitl el 3ade 3al C++ wa7esh ya tawa

he'll post his answer later.
Code:
#include <iostream>
 using namespace std;

  #define MAX 1000000
 int Reverse(int);

  void main(void)
{
    for(int i = 0; i < MAX; i++)
        if(2*i-1 == Reverse(i))
            cout << "Matching Number: " << i << " / " << Reverse(i) << endl;
}

  int Reverse(int a)
{
    int b = 0;
    while(a > 0)
    {
        b *= 10;
        b += a%10;
        a /= 10;
    }
    return b;
}
I Love C++, Keep Them Coming Guyz
__________________
What we do in life, echoes in eternity.
Tawa is offline   Reply With Quote
Old 04-19-2008   #183
J()e
Registered Member
 
J()e's Avatar
 
Last Online: 06-13-2011
Join Date: Jan 2007
Posts: 3,530
Thanks: 1,762
Thanked 1,429 Times in 897 Posts
Groans: 0
Groaned at 0 Times in 0 Posts
Default Re: MATHS riddle

1st winner abousoun.
__________________
[
J()e is offline   Reply With Quote
The Following User Says Thank You to J()e For This Useful Post:
abousoun (04-20-2008)
Old 04-19-2008   #184
Sogelec
Vcoderz Team
 
Sogelec's Avatar
 
Last Online: 04-23-2014
Join Date: Oct 2006
Posts: 2,263
Thanks: 3,359
Thanked 2,433 Times in 1,226 Posts
Groans: 12
Groaned at 5 Times in 5 Posts
Default Re: MATHS riddle

I Dont Know Geometry, lol while i was in School i did SE, and the Last Time I Took Such Geometry was in Grade 10
so i dnt knw J()e if you meant by the Geometric location = the Locus
ill try 2 think of it, bas a really new topic
Da5lkon Tawa ma 3emel Program to Solve it
Sogelec is offline   Reply With Quote
Old 04-20-2008   #185
abousoun
Registered Member
 
abousoun's Avatar
 
Last Online: 04-16-2011
Join Date: Jun 2006
Posts: 4,230
Thanks: 2,159
Thanked 3,965 Times in 1,663 Posts
Groans: 0
Groaned at 2 Times in 2 Posts
Default Re: MATHS riddle

A new Riddle :
Crystal Soul is trying to decode Sweets_HsN password:
1 - his password is composed of 5 numbers
2 - the 4th # is more than the 2nd # by 4
3 - the 3rd # is less than the 2nd # by 3
4 - the 5th # is 3 times less than the 1st #
5 - there is 3 combinations of 2 numbers where their sum will be 11

to explain the last point ya3ne if the number is abcde :
we have (a + b = 11), (c + d= 11), (a+e = 11)
or (a + c = 11), (c + e = 11), (d + e = 11)
etc ....

Can you help Crystal Soul to decode Sweets_HsN password ?

P.S : it can be solved without a C++ program , but such solutions are acceptable

Thank You ...
__________________
Jess' Signature
abousoun is offline   Reply With Quote
Old 04-22-2008   #186
abousoun
Registered Member
 
abousoun's Avatar
 
Last Online: 04-16-2011
Join Date: Jun 2006
Posts: 4,230
Thanks: 2,159
Thanked 3,965 Times in 1,663 Posts
Groans: 0
Groaned at 2 Times in 2 Posts
Default Re: MATHS riddle

chou wein el sha3b ???? ... Sweets_HsN password Riddle is a very easy one and shouldn't take more than 5 or 10 minutes ...

Thank You ...
__________________
Jess' Signature
abousoun is offline   Reply With Quote
Old 04-22-2008   #187
abousoun
Registered Member
 
abousoun's Avatar
 
Last Online: 04-16-2011
Join Date: Jun 2006
Posts: 4,230
Thanks: 2,159
Thanked 3,965 Times in 1,663 Posts
Groans: 0
Groaned at 2 Times in 2 Posts
Default Re: MATHS riddle

ezzahir nafa3 my encouragement
enigma first one to crack the password ... bravoooo

Thank You ...
__________________
Jess' Signature
abousoun is offline   Reply With Quote
Old 04-23-2008   #188
abousoun
Registered Member
 
abousoun's Avatar
 
Last Online: 04-16-2011
Join Date: Jun 2006
Posts: 4,230
Thanks: 2,159
Thanked 3,965 Times in 1,663 Posts
Groans: 0
Groaned at 2 Times in 2 Posts
Default Re: MATHS riddle

Answer of Sweets_HsN Password Riddle:

as per given conditions, there are three possible combinations for 2nd, 3rd and 4th #. They are (3, 0, 7) or (4, 1, 8) or (5, 2, 9)

It is given that there are 3 combinations of two # whose sum is 11. All possible pairs are (2, 9), (3, 8), (4, 7), (5, 6).

Now required number is 5 digit number and it contains 3 pairs of 11. So it must not be having 0 and 1 in it.

Hence, the only possible combination for 2nd, 3rd and 4th digits is (5, 2, 9)

Also, 1st digit is 3 times the last digit. The possible combinations are (3, 1), (6, 2) and (9, 3), out of which only (6, 2) with (5, 2, 9) gives 3 pairs of 11. Hence, the answer is 65292.

Winner : enigma

Thank You ...
__________________
Jess' Signature
abousoun is offline   Reply With Quote
Old 04-26-2008   #189
abousoun
Registered Member
 
abousoun's Avatar
 
Last Online: 04-16-2011
Join Date: Jun 2006
Posts: 4,230
Thanks: 2,159
Thanked 3,965 Times in 1,663 Posts
Groans: 0
Groaned at 2 Times in 2 Posts
Default Re: MATHS riddle

New Riddle:
Tawa and enigma met after a long time ...
now Tawa have 3 sons machalla ...
so enigma asked how old are they ?
Tawa replied : if i multiply the ages of my 3 sons, it will be 36
enigma said : I still don't know
so Tawa look around and then replied : if i add the ages of my 3 sons, it will be the sameas the numbers of cars on this side of street ...
enigma replied : Come on Tawa , i still needs more than that to know
so Tawa said : my eldest son looks exactly like me
then enigma knew the ages of his sons

now can you know ?

Thank You ...
__________________
Jess' Signature
abousoun is offline   Reply With Quote
Old 04-27-2008   #190
abousoun
Registered Member
 
abousoun's Avatar
 
Last Online: 04-16-2011
Join Date: Jun 2006
Posts: 4,230
Thanks: 2,159
Thanked 3,965 Times in 1,663 Posts
Groans: 0
Groaned at 2 Times in 2 Posts
Default Re: MATHS riddle

enigma first one to solve Tawa's sons ages Riddle

El-Meghwar got it as well

Jess ndammit la enigma w El-Meghwar

- J()e and Crystal Soul solved it too

Thank You ...
__________________
Jess' Signature

Last edited by abousoun; 04-28-2008 at 03:41 PM. Reason: updating
abousoun is offline   Reply With Quote
The Following 3 Users Say Thank You to abousoun For This Useful Post:
Crystal Soul (02-16-2009), El-Meghwar (04-27-2008), Jess (04-28-2008)
Reply

  Vcoderz Community > Community Forums > Vcoderz Lobby

Tags
maths, riddle



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 07:10 AM.


Lebanon web design and development
Powered by vBulletin® Version 3.8.3
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Share