I want to take multiple integer inputs in the same line. I know I can take str input and then convert them into integer in the next line but i
I try to stack three one dimension array. a and b are int that can be work as index and c is float. After I stack this three with axis=0, the a and b data chang
For example this code is broken (I've just fixed it in actual code..). uint64_t a = 1 << 60 It can be fixed as, uint64_t a = (uint64_t)1 << 60 but
Is there a method in the Java Math class that returns the absolute difference of two integers? int absDiff = 8 - 15; int answer = 7;
My code is working just the way I want - unless input contains alphabetical characters. If so, is crashes. How can I prevent that? My code is as follows: def ma
I am working on SharePoint List solution that acts on date trigger. The base date is a date of parcel receipt. I need a set of reminders that stop once Picked f
I have a generated RSA key in the format of Uint8Array but I need the key in the format of BigInteger. See images below. How can I achieve such a conversion?
AttributeError: 'int' object has no attribute 'split' Data is : print(df) Content Page no 0 My name is mark 3 1 My name is jeff
For saving the days of week in a database, I've the existing code : if (isset($_POST['day7'])){$dayOfWeek = 1;} else { $dayOfWeek = ''; } if (isset($_POST['day1
I have a value, of type signed int, which is always clamped between, for example, ±1073741824 (2^30). I should be able to safely add or subtract any arbi
I'm trying to fetch data Online Using HTTP GET with Flutter SDK. I'm trying with this code https://github.com/RaglandCodes/Flutter-basic-API/blob/master/lib/mai
The format_address function separates out parts of the address string into new strings: house_number and street_name, and returns: "house number X on street nam
well what im trying to do its when you input a "-Number" it will print something and this the error im getting: Traceback (most recent call la
This one has me puzzled. The below code extract uses selectizeInput() to allow the user to choose to/from periods for purposes of data analysis (latter not show
This is my solution and it passes some of the tests, but not all of them. Can anyone help me and explain why? Thank you :) function evenLast(numbers) { let su
I have an AnyObject type that can be String, Int or Bool type. I need to distinguish them. This code tries to do so, but it considers Bool to be Int: import C
I have an AnyObject type that can be String, Int or Bool type. I need to distinguish them. This code tries to do so, but it considers Bool to be Int: import C
Lets say I have an array var values:[CGFloat] = [-12.0, 450, 300] I need to find out which of these numbers is closest to a given value, say var givenValue
I have an array of integers like this one int [] num = {5, 8, 1, 1, 2, 3, 2} and I want to divide it into 2 parts, so that the total of 2 sets will be as equ
I'm confused about the following integer math in python: -7/3 = -3 since (-3)*3 = -9 < -7. I understand. 7/-3 = -3 I don't get how this is defined. (-3)*(-