+ 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
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);
+ 14
@Timothy Olaleke
Sorry, but your answer is in correct.
hint : each digit is bigger than 1
+ 14
@Daverjan
thank you for your answer
but you are late.
maybe tomorrow.
@Sweet Emotion
You can try again tomorrow.
+ 13
@Jafca
You are right.
what i mean is digit of the result bigger than 1. (y > 1)
+ 13
$44, $17, $60 😁👍
Cookie = $20!
Chocolate = $5
Pen = $12
The hardest part was trying not to confuse Cookie with Chocolate
+ 9
I'm not seeing your Quizzes at the right time now >_<
Too late too late
+ 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. ;)
+ 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.
+ 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.
+ 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)
+ 8
Came in here late again. So I made my own quiz lol
Try it at
https://www.sololearn.com/discuss/303325/?ref=app
+ 8
@Cyrus
your wish come true.
Quizz time incoming........
+ 7
+ 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. ;)
+ 7
Now? Others aren't here yet. Let them come too.
+ 7
for i in range(100,1000):
if int(str(i)[1]*3) == i*3:
print(str(i) +" * 3 = " + str(i*3))
+ 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;
};
}
}
+ 6
148.
What did i do?
print(111/3)
print(222/3)
print(333/3)
print(444/3)
...
+ 3
111
+ 3
Okay, can I try again?