integers

CF

Integers & Operators

The program must accept N integers and a string containing N-1 arithmetic operators (+, -, * and /). The program must form an arithmetic…
PythonF

Sort Integers based on Ones

The program must accept N integers as the input. The program must sort the integers based on the number of ones in their binary representation…
CF

Sum of Two Integers Equal to K

The program must accept N integers and an integer K as the input. The program must print yes if the sum of any two integers among the N…
PythonF

Integers – Equal to Index

The program must accept N integers and print the integers which are equal to their index value as the output. If there is no such integer, the…
PythonF

Two Integers Plus or Minus

The program must accept two integers A,B separated by a string S (whose value is plus or minus). Based on the string value S, the program must…