+ 1
math problem
Anyone can help me?🙏 Enter n x+y*2+z*5=n print number of answer (x,y,z) ex:input 5 output 4(5,0,0)(1,2,0)(3,1,0)(0,0,1)
6 ответов
+ 2
Any limitations for x, y, z?
+ 1
Good challenge.
This code can solve it, but I've been problems with it.
https://code.sololearn.com/WsH6sKJSbbcA/?ref=app
https://www.sololearn.com/discuss/1372325/?ref=app
0
I think it's asking how many combinations of xyz will result n=5 and to list those combinations.
0
Janning⭐ no,enter n and print number of answers xyz😥 so if you input 5 the output is 4
0
Yes, because there are four possible combinations of xyz where n is five.
0
no limit!