+ 14

Quizz time IX 3 Digit

i have 3 different digit integer multiply by 3 will result in 3 same digit integer like this format xyz * 3 = yyy Question : What is my number? the last one is so long to execute, so now i just make it 3 integer. see this memory killer Question. https://www.sololearn.com/discuss/302041/?ref=app

8th Apr 2017, 11:04 AM
Agus Mei
Agus Mei - avatar
20 Respuestas
+ 20
148 * 3 = 444 Am I doing this right? (First digit isn't bigger than 1...) Unnecessary code: for(int x=111;x<1000;x+=111) if(x%10 == int.Parse((x/3).ToString()[1].ToString())) Console.WriteLine(x + " " + x/3);
8th Apr 2017, 11:40 AM
Jafca
Jafca - avatar
+ 14
@Timothy Olaleke Sorry, but your answer is in correct. hint : each digit is bigger than 1
8th Apr 2017, 11:26 AM
Agus Mei
Agus Mei - avatar
+ 14
@Daverjan thank you for your answer but you are late. maybe tomorrow. @Sweet Emotion You can try again tomorrow.
8th Apr 2017, 12:17 PM
Agus Mei
Agus Mei - avatar
+ 13
@Jafca You are right. what i mean is digit of the result bigger than 1. (y > 1)
8th Apr 2017, 11:57 AM
Agus Mei
Agus Mei - avatar
+ 13
$44, $17, $60 😁👍 Cookie = $20! Chocolate = $5 Pen = $12 The hardest part was trying not to confuse Cookie with Chocolate
8th Apr 2017, 4:39 PM
Jafca
Jafca - avatar
+ 9
I'm not seeing your Quizzes at the right time now >_< Too late too late
8th Apr 2017, 11:59 AM
Pixie
Pixie - avatar
+ 9
@Jafca You are correct. You, Agus Mei and Hatsy Rei are very good at logics. But I can also solve and make some quizzes too. That makes me a bit like you guys too. ;)
8th Apr 2017, 4:59 PM
Cyrus Ornob Corraya
Cyrus Ornob Corraya - avatar
+ 9
@Jafca These are just mini quizzes made by me. They are very easy for intelligent people like you. But lots of people will still be unable to solve them too.
8th Apr 2017, 5:05 PM
Cyrus Ornob Corraya
Cyrus Ornob Corraya - avatar
+ 8
@Agus You make this questions by yourself? These are the best quizzes I have ever solved. I could only solve 4 of your quizzes. Couldn't figure out algorithms for others. Still learning a lot from correct answers. Your quizzes are great.
8th Apr 2017, 4:05 PM
Cyrus Ornob Corraya
Cyrus Ornob Corraya - avatar
+ 8
Well here is another mini quiz : Three people went to a market. First one bought a cookie, two pens. Second one bought a chocolate and a pen. Third person bought only 5 pens. The total cost of their products were 121$. 5 cookies costs 100$. And the cost of a pen is 2$ more than twice of the cost of the chocolate. Tell me the separate cost of every person. (amount of money cost by each person separately)
8th Apr 2017, 4:20 PM
Cyrus Ornob Corraya
Cyrus Ornob Corraya - avatar
+ 8
Came in here late again. So I made my own quiz lol Try it at https://www.sololearn.com/discuss/303325/?ref=app
8th Apr 2017, 5:20 PM
Pixie
Pixie - avatar
+ 8
@Cyrus your wish come true. Quizz time incoming........
9th Apr 2017, 9:07 AM
Agus Mei
Agus Mei - avatar
8th Apr 2017, 2:04 PM
Agus Mei
Agus Mei - avatar
+ 7
@Agus Mei When will you make today's quizzes? Most of the time I don't get in time. And Jafca or Hatsy are always in time. :( If you can tell me the time. I will be there just in time. ;)
9th Apr 2017, 9:04 AM
Cyrus Ornob Corraya
Cyrus Ornob Corraya - avatar
+ 7
Now? Others aren't here yet. Let them come too.
9th Apr 2017, 9:11 AM
Cyrus Ornob Corraya
Cyrus Ornob Corraya - avatar
+ 7
for i in range(100,1000): if int(str(i)[1]*3) == i*3: print(str(i) +" * 3 = " + str(i*3))
12th Apr 2017, 3:42 PM
Supersebi3
Supersebi3 - avatar
+ 6
148 Code: #include <iostream> using namespace std; int main (void){ unsigned long x,t,p,r,s,d; for (x=100;x<999;x++){ t = (x/10)%10; p = x * 3; r = p%10; s = (p/10)%10; d = p/100; if (s==t && r==t && d==t) { cout<<x<<endl; }; } }
8th Apr 2017, 12:01 PM
देवेंद्र महाजन (Devender)
देवेंद्र महाजन (Devender) - avatar
+ 6
148. What did i do? print(111/3) print(222/3) print(333/3) print(444/3) ...
9th Apr 2017, 7:29 PM
Supersebi3
Supersebi3 - avatar
+ 3
111
8th Apr 2017, 11:18 AM
timtech4u
timtech4u - avatar
+ 3
Okay, can I try again?
8th Apr 2017, 11:28 AM
timtech4u
timtech4u - avatar