What is the time complexity of prefix sums?
What is O(N)?
what language is this?
# This program adds two numbers
num1 = 1.5
num2 = 6.3
# Add two numbers
sum = num1 + num2
# Display the sum
print('The sum of {0} and {1} is {2}'.format(num1, num2, sum))
What is Python?
Which student from Paly promoted to USACO platinum in the 2023 december contest?
Who is Andrew Fan?
How many CPC meetings have there been?
what do you use to find a value that satisfies a strictly increasing function
what language is this?
public class HelloWorld
{
public static void main(String[] args) {
System.out.println("Hello World!");
}
}
What is Java?
Who watches youtube in the back?
what is the fastest sorting time of any array of size N?
What is O(N log N)?
what language is this?
#include <iostream>
using namespace std;
int main() {
int first_number, second_number, sum;
cout << "Enter two integers: ";
cin >> first_number >> second_number;
// sum of two numbers in stored in variable sumOfTwoNumbers
sum = first_number + second_number;
// prints sum
cout << first_number << " + " << second_number << " = " << sum;
return 0;
}
What is c++?
what does this code output?
input H, R
B = 0
if H>48 then
B = B + (H - 48) * 2 * R
H = 48
end if
if H>40 then
B = B + (H - 40) * (3/2) * R
H = 40
end if
B = B + H * R
output B
Who plays Brawl Stars in the back?
Who is Aiden Yuan?
What is the best algorithm to find the smallest polygon containing a set of points on a grid?
What is convex hull?
what language is this
Format : relation(entity1, entity2, ....k'th entity).
Example :
friends(raju, mahesh).
singer(sonu).
odd_number(5).
Explanation :
These facts can be interpreted as :
raju and mahesh are friends.
sonu is a singer.
5 is an odd number.
What is Prolog?