GIve me your programming challenges

I am up for anything

Attached: images?q=tbn:ANd9GcTIW3RpUZRNwOt4XxPM77epmxq0o03g2LgeA9JwlHrFPvfl4xRF.jpg (300x168, 14K)

Write a program that determines if another program will ever print "hello".

install gentoo

Print the first nth digit of e

Given an array of integer, find the largest sum of contiguous integer.

No.

write a program to determine the likelihood of the world ending from nuclear hellfire

def largest_sum(arr):
max_so_far, max_ending_here = 0,0
for i in arr:
max_ending_here = max_ending_here + i
if max_ending_here < 0:
max_ending_here = 0
if max_so_far < max_ending_here:
max_so_far = max_ending_here
return max_so_far

>write a program to determine the likelihood of the world ending from nuclear hellfire
That's 100% if Trump wins the next election

Sort an array of distinct integers in less than O(n*logn)

write an implementation of a templated class in c++ that functions as arbitrary coefficients in a polynomial (degree given at construction).
Overload all the arithmetic operators for it in an algebraically correct way.

Possible if there is a limit of max value of integers

polynomial with templated coefficients*

assume 32 bit signed integer

Create a program that finds a name in a group of names in a maximum of 4 iterations.

How could someone be this dumb?

function boolean findName(List names, String tofind){
for(String name : names){
if(name.equals(tofind))
return true
}
return false
}


how would you ever need 4 iterations over the list to find one value?

Calculate the biggest dragon dildo I can fit in my ass.

I know right? They let anybody to be a President these days

Write a script that logs into your bank account and transfers all the money to me.
I betcha can't.

Attached: 1472056610441.jpg (1165x1155, 383K)

def count_sort(arr):
val = max(arr)
count = [0]*(val+1)
for i in arr:
count[i]+=1
out = [0]*len(arr)
j = 0
for i in range(val+1):
while count[i]!=0:
out[j] = i
j+=1
count[i]-=1
arr = out[::]
return arr

Write a program that creates sites where the public can rate the core truth of any article & track the credibility score over time of each journalist, editor & publication.

Attached: RLKnOCE.jpg (413x413, 48K)

Oh i like this

Attached: really faggot.png (320x417, 321K)

cant solve the HALT Problem

make syntactically invalid C++ declaration

A good observable and concurrent set collection.

laughed audibly, have a (you)

Being this retarded

How could I start with something like this? Is there an article database or would I have to manually scrape everything on different sites and when they change it change it accordingly?

checked...bitch.

Attached: elon-musk-799x423.jpg (799x423, 30K)

find a valid businesscase for blockchain

PROGRAM ANYTHING 100% NORMIE PROOF
I DARE YOU

Attached: 0202_4JbyDH6.jpg (400x388, 40K)

Write a program that determines if you are a faggot or not. Have it return True for all inputs. Thanks user.

But dwarf fortress already exists...

I mean something that no normie ever could break in his absolute retardation

but python scripts already exist...

Given a set of integers, determine two non-empty subsets whose sums are equal to each other

./your-program | grep hello

Get Help

Write a program that can reverse SHA256 without brute forcing it.

Use a real editor

Make hurd a viable option

Write a kernal better than linux

it's called windows, look it up

Create the grounds for a very detailed shitposting bot.

Create a program that copy pastes Jow Forums archives and non-official archives and randomly posts threads and mixes threads at random intervals of times.
Make it so it simulates a living breathing community on an imageboard.

Fuck off

Attached: 1519799327741.png (606x554, 263K)

>>He doesnt know

Where do you think this thread comes from?

Create a VST that sounds smooth

Attached: get-help.png (592x128, 46K)

reverse mode automatic differentiation in your language of choice

average 2 ints in C

>implying the "public" won't be 80% of the media themselves
foolproof system

then I'll vote for him even harder.

Find the last prime number

that's actually a nice idea.
You'd need a lot of users though or else you'll just create an echo chamber.

>That's 100% if Trump wins the next election

How do you even figure?

Have you not noticed that none of the chicken little scenarios you guys were mindlessly saying have come true?

Attached: 1525735622064.png (1080x1106, 682K)

I wrote this earlier but hadn't had a chance to post it yet.
#include
#include

int digit_count(int number) {
int digits;
while (number) {
number /= 10;
digits++;
}
return digits;
}

/* x and y are the current indices, while n, m, a and b
* are decremented and incremented respectively
* to force the spiral towards the center.
*/
void inward_spiral(int n, int m) {

int pattern[m][n];
int x = 0, y = 0, a = 0, b = 0;
int counter = 1;
int max = n*m;
int orig_n = n, orig_m = m;
int digits = digit_count(max);

while (counter r */
while (x

better to use data science to rate things on objectivity
truth is a hard metric to establish

zing

Write an OS

take your pick

Attached: programming challenges.png (3840x2160, 1.07M)

Make a program that calculates how many dicks you suck per second.