필터 지우기
필터 지우기

Least possible value for a modulo with given remainders

조회 수: 1 (최근 30일)
Riven Yvet
Riven Yvet 2015년 12월 8일
편집: Walter Roberson 2015년 12월 9일
Hello guys. Im just asking how do you code a program that gets the LEAST value of a given modulo and remainder. Say example
Z = [3 4 5]
R = [2 1 4]
The inputs will give an output that gives the LEAST possible value for the given. So the answer to the above is 29.
  댓글 수: 3
Riven Yvet
Riven Yvet 2015년 12월 9일
Umm since i am given 3 modulos with remainders, there are a lot of possible values for that. How do i get the least possible though?
Riven Yvet
Riven Yvet 2015년 12월 9일
I can input any values of the modulo and remainder. the above is just an example input.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Elementary Polygons에 대해 자세히 알아보기

태그

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by