Search:

Type: Posts; User: Stamatis

Search: Search took 0.00 seconds.

  1. Replies
    1
    Views
    1,562

    Necklaces and Bracelets in Combinatorics

    Ok, it seems I need some help in understanding and solving the following problem:
    input :
    4 (k)
    6 3 2 2 2 (n,m,a1,a2,a3)
    6 3 3 2 1 (n,m,a1,a2,a3)
    4 2 2 2
    12 4 6 2 2 2
    output :
    11
    6
  2. Replies
    11
    Views
    6,484

    C++ probably.

    C++ probably.
  3. Replies
    11
    Views
    6,484

    Don't ask me. I only started programming a few...

    Don't ask me. I only started programming a few months ago

    But the program as it is doesn't work. Any more sugestions ?
  4. Replies
    11
    Views
    6,484

    So I have to read the number first and then...

    So I have to read the number first and then declare the arrays
    like this : (?)


    int main ()
    {
    int n,i,j,k,l,count,count0,co;
    bool flag;
    FILE *read = fopen("in.txt", "r");
    ...
  5. Replies
    11
    Views
    6,484

    Simple c++ convex hull help

    Hi all !!
    I am currently writing a simple c++ program that computes the convex hull of random given points.
    As I don't know mch about programming yet I am trying to use the simple Brute force...
Results 1 to 5 of 5