Verildi

2 assignments of c programming

ASSIGNMENT 1

Write a parallel C program that returns the answer for the following problem:

Given a nonempty set S, with elements {a1, a2, a3, ...}, and a integer N,

find the number of nonempty subsets of S, such that the sum of all elements

in this subset equals to N.

This problem is NP-complete, meaning that currently there is no way

to sovle it efficiently. However, since this assignment is targeted for

parallel computing, the algorithm is not an important part.

You only need to take the simplest approach:

enumerate all the subset of S, add up the elements and compare to N,

count one if there is a match, and finally return the total number of counts.

ASSIGNMENT 2

Write a parallel C program that reads an image from a binary BMP file on disk, inverts all of the pixels, and saves the image as a new BMP file

Beceriler: C Programlama

Daha fazlasını görün: sum binary, programming meaning, programming binary, meaning algorithm programming, meaning algorithm, find binary, computing programming, computing algorithm, binary programming, binary problem, binary integer programming, binary elements, binary algorithm, answer set programming, algorithm computing, sum algorithm, binary number, parallel programming, integer programming, find new programming, c programming, program disk algorithm, find image match

İşveren Hakkında:
( 2 değerlendirme ) West Lafayette, United States

Proje NO: #4459697

4 freelancer bu iş için ortalamada 66$ teklif veriyor

rakib062

Expert in multi-threading parallel programming in C,C++. Already done similar NP-complete algorithms like set cover, longest subsequence etc. Assure you of clean, efficient code with proper comment. Rakib

in 2 gün içinde50$ USD
(13 Değerlendirme)
4.1
kaloyan13

C/C++ developer with experience in OpenMP/Pthreads

in 2 gün içinde55$ USD
(14 Değerlendirme)
3.6
romanuwa

Experienced in C programming, I can do this for you.

in 3 gün içinde60$ USD
(7 Değerlendirme)
2.5
mail2vguna

I can do that now...

in 2 gün içinde99$ USD
(0 Değerlendirme)
0.0