|
|
|
#181 |
|
Registered Member
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
|
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
__________________
[ |
|
|
|
|
|
#182 | |
|
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
|
Quote:
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;
}
![]()
__________________
What we do in life, echoes in eternity.
|
|
|
|
|
|
|
#183 |
|
Registered Member
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
|
1st winner abousoun.
__________________
[ |
|
|
|
| The Following User Says Thank You to J()e For This Useful Post: | abousoun (04-20-2008) |
|
|
#184 |
|
Vcoderz Team
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
|
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 ![]() |
|
|
|
|
|
#185 |
|
Registered Member
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
|
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 acceptableThank You ...
__________________
Jess' Signature |
|
|
|
|
|
#186 |
|
Registered Member
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
|
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 |
|
|
|
|
|
#187 |
|
Registered Member
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
|
ezzahir nafa3 my encouragement
![]() enigma first one to crack the password ... bravoooo Thank You ...
__________________
Jess' Signature |
|
|
|
|
|
#188 |
|
Registered Member
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
|
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 |
|
|
|
|
|
#189 |
|
Registered Member
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
|
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 |
|
|
|
|
|
#190 |
|
Registered Member
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
|
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 |
|
|
|
| The Following 3 Users Say Thank You to abousoun For This Useful Post: |
![]() |
|
| Tags |
| maths, riddle |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|