|
|
back to boardCommon BoardHHEELLPP !!!! How can I check if the number is devides by 7 ??? HHEELLPP !!!! How can I check if the number is devides by 7 ??? A hint z=x+y z mod c = (x mod c + y mod c) mod c c is only 7.It's not big. and the number always has 1, 2, 3, and 4 . Good luck, TheBlaNK P.S. two of my friends used search (permute them) and got AC. - -' Oops!! i misunderstand the question,sorry.i think u ask for 1095 (-) > z=x+y > > z mod c = (x mod c + y mod c) mod c > > c is only 7.It's not big. > and the number always has 1, 2, 3, and 4 . > > Good luck, > TheBlaNK > > P.S. two of my friends used search (permute them) and got AC. - -' It's OK ! I mean this problem ! Thank you wery much !!! > > z=x+y > > > > z mod c = (x mod c + y mod c) mod c > > > > c is only 7.It's not big. > > and the number always has 1, 2, 3, and 4 . > > > > Good luck, > > TheBlaNK > > > > P.S. two of my friends used search (permute them) and got AC. - -' |
|
|