python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
Why the different results when using external modulus than built-in pow(x, y, mod) in Python 3.9
While watching John Hammond's YouTube video about "Modular Inverses in Python 3 (PicoCTF 2022 #03 basic-mod2)" I discovered the newer version of pow(x, y, mod) function in Python 3.9, which ...
Raspberry Pieman
Votes: 0
Answers: 1
Not fining last element in list
What I'm trying to do is taking the even indexes of a list then adding them together and lastly multiplying the total with the last element in the list. When I try with a set of negative numbers then ...
gogosimba
Votes: 0
Answers: 2
how should i make the code give an error if the values are incorrect
I don't know how, but I must add something that gives a massage that the input was wrong if it's a negative vale or a char
package javaapplication6;
import java.util.Scanner;
public class JavaApplica...
eziovandox
Votes: 0
Answers: 2
WebAssembly text format not working on negative
(module
(func $pow2
(param $v f64)
(result f64)
local.get $v
local.get $v
f64.mul
)
(func $_dist (export "_dist")
(param $x0 f64)
(param $y0 f64)
(param...
Saeed M Farahani
Votes: 0
Answers: 1